Hi again
i want to make my application allow the user to enter set commands,
i cant seem to get it to use a switch statement to find out what was entered
here is an example
thanks againCode:char cnd[4]; cnd = strncpy(cmddata,0,4); switch(cnd) { case "HELP" printf("here is a list of the commands"); case "STOP" } }





Reply With Quote