View Single Post
Old Jul 20th, 2005, 1:08 AM   #5
The Dark
Expert Programmer
 
Join Date: Jun 2005
Posts: 894
Rep Power: 4 The Dark is on a distinguished road
I think what sykkn was trying to say is that the OP has missed the comma between the end of his format specifier ("blahblah...%20f\n") and the first data parameter "Meters", this means that "Meters" is added to the end of the format specifier and all of the OP's carefully laid out parameters no longer match their %s and %f formats. This will cause a segfault when printf tries to interpret a double as a char *.

Edit: ignore this - didn't see L7Sqr's edit.
The Dark is online now   Reply With Quote