Hi, I'm very new to the C language and haven't compiled many programmes before.
I'm trying to create a virtual zoo type game. In one of the subsystems it asks what animal the user wants to view and lists a about 25 animals (grouped according to regions) next to each animal is a number, and so the user will have to input a number of the animal they want to see
The program will then have to recall that animals file and display it to the user.
So basically I would just like to know the simplest way to do the subsystem above - i know it is pretty simple but i'm quite useless when it comes to C. Any help whatsoever would be appreciated.
Thanks!! :thumbup:
HELP. Beginner trying to compile a programme
Started by Sarah19, Mar 14 2010 04:39 PM
3 replies to this topic
#1
Posted 14 March 2010 - 04:39 PM
|
|
|
#2
Posted 14 March 2010 - 05:08 PM
int main() {
printf("Hello");
return 0;
}
Clue :
- display all of animals included their number
- read input from user
- create a 'switch case' to determine what animal is chosen (in this case is a number)
- display related information about the selected animal
#3
Posted 15 March 2010 - 01:19 PM
Is your problem writing the code, or compiling it? In either case, we'll need to see what you have so far to help.
#4
Posted 17 March 2010 - 01:31 PM
If you post the code we can try and help.


Sign In
Create Account

Back to top









