Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

_vscprintf

Status
Not open for further replies.

ionutdinulescu

Programmer
Jun 11, 2002
59
0
0
GB
Does anyone know why the _vscprintf function described in MSDN is not defined anywhere in vc 6.0 ?
Does anyone know a better alternative to this function ?
For instance, how can I use printf to print to a null device. I just need to find the result it returns (number of characters that have been written)
 
>Does anyone know a better alternative to this function ?

sprintf to a string and check the string length?


Though, if possible, I advice against all printf stuff in favour of the << operator. It is C++ after all...

/Per
[sub]
www.perfnurt.se[/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top