Main Menu
  • Welcome to The RPG Maker Resource Kit.

Ahref does some C :( HALP

Started by ahref, April 04, 2010, 11:04:47 PM

0 Members and 1 Guest are viewing this topic.

ahref

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.

Roph

[fright]bringing sexy back[/fright]

ahref

#2
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!