Search:

Type: Posts; User: Valantis

Search: Search took 0.01 seconds.

  1. Isn't the "s" needed so that the input will be...

    Isn't the "s" needed so that the input will be read as string and not as something else?
    I used to have "cmd" there instead of "getcmd". That getcmd was left there during the tests. I was trying to...
  2. Here's the whole code: #include...

    Here's the whole code:



    #include<stdio.h>
    #include<stdlib.h>
    #include<string.h>

    struct movie {
    char *title;
  3. I compiled it using: gcc -ansi -pedantic - Werror...

    I compiled it using: gcc -ansi -pedantic - Werror
    and it was compiled normally, with no errors (for some reason...).
  4. Program (probably scanf) provides corrupted strings after 2nd loop.

    Hello,
    the following program receives a string using scanf and saves the first word of the string on com and every other parameter to param[i]. It extracts the parameters to string if they are in...
Results 1 to 4 of 4