A
Angus
Hi
If I want to eg print a string from position 3 to the end of the
string I can do this:
char szMessage[] = "Hello World";
printf("string fragment: %s\n", szMessage+5);
But if I just want to print "Hello" how can I do it. I can make a
copy but what other way to do this?
Angus
If I want to eg print a string from position 3 to the end of the
string I can do this:
char szMessage[] = "Hello World";
printf("string fragment: %s\n", szMessage+5);
But if I just want to print "Hello" how can I do it. I can make a
copy but what other way to do this?
Angus