U++ framework
Do not panic. Ask here before giving up.

Home » Extra libraries, Code snippets, applications etc. » C++ language problems and code snippets » va_list problem
va_list problem [message #25820] Sat, 13 March 2010 23:52 Go to previous message
amando1957 is currently offline  amando1957
Messages: 57
Registered: November 2007
Location: Wien/Vienna/Viden
Member
Hello folks

I'm trying to write a func format(), which should replace sprintf(), using va_list etc. At my machine it runs, but it's printing only trash. Could someone have a look please.

Here ist the code:
http://members.aon.at/amando1957/c++_forum/textutil.htm

The second func sum() there is running fine.

Martin
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: global Object and static std::map --> Crash
Next Topic: Detect when a key is pressed!
Goto Forum:
  


Current Time: Sun Jul 12 15:52:21 GMT+2 2026

Total time taken to generate the page: 0.00731 seconds