[chbot] C prinf() %s

jimmy allen jimmy1248 at gmail.com
Tue Nov 22 02:19:39 GMT 2011


Hello All

So here is a problem, I have a char array that is '\n' terminated.
Using the printf family I want to print the array.The catch is I do
not want the '\n' to be printed.
Apparently there is a flag for the the %s formatter that will print a
char array with out the '\n'.

I have tried to find it on the net but haven't got far.

Any help would be great.

Cheers

Jimmy



More information about the Chchrobotics mailing list