| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | charasters arrays that ar |
KK> Test it out once. You will need to supply a file name on the command
KK> line. #include #include #include
char
KK> *aryPhrase[30] = {NULL}; int get_phrases(char *szPhrase) { int
KK> iIterator, iPhrase; char buf[80], *status; FILE *fpPhrase =
KK> fopen(szPhrase,"r"); if(!fpPhrase) { printf("Fatal
Error! : Cannot
KK> find phrase-dictionary file." "\n\nEnsure that %s is in your game
KK> directory.", Phrasefile); exit(2); } for (iIterator = iPhrase = 0;
KK> iIterator < 30; iIterator++) { status = fgets(buf, 80, fpPhrase);
Wow, fancy.. okay, I'll do that.. thanks a lot.
... You can tell a real programmer by the keyboard dents in his face.
-*- SabreEDIT v1.72a+ [STS97]
--- Ezycom V1.48g0 01fa0167
* Origin: Milky Way, Langley, BC [604] 532-4367 (1:153/307)SEEN-BY: 396/1 632/0 371 633/260 267 270 371 634/397 635/506 728 639/252 SEEN-BY: 670/218 @PATH: 153/307 8086 800 140/1 396/1 633/260 635/506 728 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.