123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|546|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> C/C++/C#/Other -> File I/O

Thu, 27 Dec 2007, 17:23
dna
I'm using the code below to read from a file to print the text on the screen and the code will not compile.
Can someone please assist me.

THanks



-=-=-
DNA
Thu, 27 Dec 2007, 17:55
Afr0
What C compiler are you using? This seems to be really arcaic C file I/O that probably doesn't work on all modern-day compilers.
Possibly Linux?

-=-=-
Afr0 Games

Project Dollhouse on Github - Please fork!
Thu, 27 Dec 2007, 17:58
power mousey

for one thing,

the semicolon at the end of that if statement:

if (rc == '\0');


Fri, 28 Dec 2007, 13:13
power mousey

you're right, Agent Smith.