Re: string format

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



> Does anyone know of any functions that will format a string as per
sprintf() ?

Well printf(), fprintf(), sprintf(), snprintf(), vprintf(), vfprintf(),
vsprintf(), vsnprintf().
What are you after?

Stephen Howe


.



Relevant Pages

  • Re: Listing the most dangerous parts of C
    ... 8 C functions suffer from format string vulnerabilities ... printffprintfsprintf() snprintfvprintfvfprintfvsprintf() ... snprintf() is not a standard C function ...
    (comp.lang.c)
  • Re: New to VC7,8, port from VC6 error points to STL
    ... C2873: 'sprintf': symbol cannot be used in a using-declaration ... C2873: 'vsprintf': symbol cannot be used in a using-declaration ... using namespace std; ...
    (microsoft.public.vc.stl)
  • New to VC7,8, port from VC6 error points to STL
    ... C2873: 'sprintf': symbol cannot be used in a using-declaration ... C2873: 'vsprintf': symbol cannot be used in a using-declaration ... : error C3861: 'sprintf': identifier not found ...
    (microsoft.public.vc.stl)
  • Re: Why no gzvprintf in zlib?
    ... Because not all libraries provide vsprintf / vsnprintf. ... sprintf or snprintf. ... the STDC implementation of gzprintf depends ...
    (comp.compression)
  • Re: i/o Fortrans format commands in c++
    ... If you want to avoid memory-allocation with sprintf ... I've never used vsnprintf(). ... Builder 3 doesn't support it ...
    (comp.lang.cpp)