
please wait
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (strcmp(pch[0],"exit") == 0
) instead of what i've written then the program will crash if you give the command as : exit||.:: Command Prompt ::.|| O-Shell -> You need to enter a command. O-Shell -> You need to enter a command. O-Shell -> You need to enter a command. O-Shell -> exit false Exiting... just kidding! O-Shell -> exit Invalid command. O-Shell -> exit true Exiting... |