Search:

Type: Posts; User: anduril462

Search: Search took 0.06 seconds.

  1. You might consider reading one character at a...

    You might consider reading one character at a time and doing the "end of line" control yourself. You read one char at a time, putting each one in subsequent spots in your temporary buffer. When you...
  2. $ make sched gcc -Wall -g -lm sched.c -o...

    $ make sched
    gcc -Wall -g -lm sched.c -o sched
    sched.c:22: warning: return type defaults to ‘int’
    sched.c: In function ‘main’:
    sched.c:62: warning: passing argument 2 of ‘strtok’ makes...
  3. Reread your docs Tater ;) Note that s2 is a...

    Reread your docs Tater ;)

    Note that s2 is a char *, meaning it needs double quotes " ". strtok will not split on a null character because of a null terminator in s2. Still, defining a variable...
Results 1 to 3 of 3