what does this line of code mean exactly?
p = strtok(line_in, " \t<>\n");
what does this line of code mean exactly?
p = strtok(line_in, " \t<>\n");
>p = strtok(line_in, " \t<>\n");
Take the first sequence of characters from line_in up to a tab, opening angle bracket, closing angle bracket or newline and assign the address of the beginning of that sequence to p.
p.s. What the alphabet would look like without q and r.
ok whats another way to write this:
for (i = 0; i < margin; putchar(' '), i++) ;
>for (i = 0; i < margin; putchar(' '), i++) ;
I'd prefer
But you can write it a lot of ways depending on what type of loop you use.Code:for (i = 0; i < margin; i++) putchar(' ');
p.s. What the alphabet would look like without q and r.
Why not just look at the manual to find out what functions do.Originally posted by blindleaf
what does this line of code mean exactly?
p = strtok(line_in, " \t<>\n");
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]