|
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.
|