Hello,
I've got an assignment to do in C about a taxi rank. The majority of the assignment is done which is a linear linked list derrived queue. Taxis enter the back of the taxi rank and leave via the front. Sound fun doesn't it.
Part of the assignment requires a command line based menu for specifying operations. e.g.arrive,leave,search.
While ive got these functions working i cant seem to get the actual entering of a string working.
Can anyone give me an example of C code where a string is got from the user, who types it into the command prompt window and then that string is stored within the program.
With this i should be able to finish the assignment
Thanks.