I have found a solution (of course with some help :redface:):
const char *p = NULL;
char c;
char a[2] = { '\0', '\0' };
c = line[ii]; putc(c, stdout); putc(' ', stdout);
a[0] =...
Type: Posts; User: Roscoe Araujo
I have found a solution (of course with some help :redface:):
const char *p = NULL;
char c;
char a[2] = { '\0', '\0' };
c = line[ii]; putc(c, stdout); putc(' ', stdout);
a[0] =...
Thank you very much :-) I tried something similar, it did not work, that is why I am looking for helo in this forum. I will try it again tomorrow mornng,
Because I only need a single character in line1.
Thank you for your reply. I corrected my code (I wanted to cut it down to the central information, l contains the length of line).
How do I exactly only the first character from line into line1?
Hey guys,
I have some problems with copying a single character from one char into another. How do I do that? I'm quite the beginner, so I would appreciate your help.
Here is the function I am...