I am trying to use command line arguments to input a string(or just a array of char)
this is the code i am using..
int main(int argc, char** argv)
sscanf(argv, "%s", &word);
my program crashes when i try to access WORD and when i use COUT statements to see what WORD contains.. it would output weird characters.
could you tell me how to correctly input commmand line arguments..