View Single Post
Old 04-24-2005, 11:06 AM   #4 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,692
redhead is on a distinguished road
I couldn't help but take a sneeky peek at your deleted question..
From what I can see you have a real problem placing your code, into useful functions which will allow you to use them throughout your program.

The %s within the argument to printf() will tell it that there will be a string substitution uppon runtime, this is just one of the conversion chars which functions like [s|f]printf() and [s|f]scanf() among others takes.

I don't have the time right now, but within the next 5 or 6 hours I will correct the code you provided there, into a program which will do what you want it to do, with comments explaining how everything is ment to work together.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote