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 :D
Thanks.
StackOverflow (http://stackoverflow.com/) is probably your best bet here =o
I'll try there too but i thought there were some resident C guys here :D
EDIT: A mate found this from google LOLOL,
I finished this assignment and got a good grade for it :blizj:, Code is available if you are interested.
HAI CHRIS!