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...
Type: Posts; User: Valantis
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...
Here's the whole code:
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
struct movie {
char *title;
I compiled it using: gcc -ansi -pedantic - Werror
and it was compiled normally, with no errors (for some reason...).
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...