home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
games
/
gkit.zip
/
GNOVICE.DOC
< prev
next >
Wrap
Text File
|
1988-05-05
|
585b
|
23 lines
--- THIS FILE IS RESERVED FOR HELPFUL HINTS FOR NOVICES ---
See also GTIPS.DOC
Commonly asked questions about C will be answered here.
What would you like to see in this space?
---
Q: What do I use instead of printf() to send information to the player?
A: Use outstr() or sprintf() and outstr(). You only need to use
sprintf when you have numbers to print. For example:
outstr("\nWhat is your name?");
outstr("Today is friday.\n");
outstr(name);
sprintf(gss,"Your score is %d.\n",score); outstr(gss);