Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Packages » vsprintf() doesn't support "%I64u" format in Win32 platform?
icon5.gif  vsprintf() doesn't support "%I64u" format in Win32 platform? [message #14404] Mon, 25 February 2008 16:03 Go to previous message
HenryXin is currently offline  HenryXin
Messages: 10
Registered: February 2008
Promising Member
I log the 64bit data as following format:
SysPrintf("[%I64u,%I64u,%I64u,%s]\n", 0x12345, 0xabcdef, 0x0000, "Starting");
call this function.
SysPrintf(const char *format, ...)
{
va_list ap;
va_start(ap, format);
vsprintf(internal_buffer, format, ap);
va_end(ap);
//console_window.DisplayLine(internal_buffer);
}
But the string I get is wrong..
Call
SysPrintf("[%x,%x,%x,%s]\n", 0x12345, 0xabcdef, 0x0000, "Starting");
the result is OK.
Does stdlib not support "%I64u" format?

Best Regards
Henry
 
Read Message icon5.gif
Read Message
Previous Topic: atof trucates real number with a dot but not comma on Linux
Next Topic: Why each package should reside in its own directory?
Goto Forum:
  


Current Time: Sun Apr 28 18:24:41 CEST 2024

Total time taken to generate the page: 0.94868 seconds