Thank you spiderbro, we're dumb
Type: Posts; User: Andy Eder
Thank you spiderbro, we're dumb
Hmm, doesn't work really.
fstream datfile;
datfile.open("highscore.dat", std::ios_base::in);
while (!f.eof())
{
f.getline(cstring, sizeof(cstring));
...
Hey folks,
I have to read a .dat file with f.eof till the end of it but my Dev C++ writes an error,
"f undeclared (first use this function)"
and I dunno what to do.
[edit]I have already...
Yeey, that was it :)
Thank you so much.
Haha, sorry, I'm in a hurry and forgetting some esential things ;D
The compiling works fine and the programm starts.
But if the function starts and comes to the "textprintf_ex" it quits and I get...
Hey folks,
I've got another Problem.
I have to give out an array with textprintf_ex but it doesn't work like I wrote it:
textprintf_ex(screen,font,table_x,table_y,makecol(255,255,255),...
Does now one know a solution?
I took the GNU gcc Compiler
[edit] in the Compiler settings
I'm making an Allegro based game, the code I posted was only from a function.
The other parts are running well.
I've set the liballeg.a, libaldat.a, liballd.a, liballd_s.a, liballeg_s.a,...
I'm using Codeblocks with Allegro.
When I'm writing std::ios::in or std::ios_base::in I get ........loads of errors xD
obj\Debug\main.o||In function...
Hmm, dunno really what you mean but if I use
std::ios::in
I get loads of errors.
Hey guys,
I'm new in here and from Austria.
Tomorrow I've to present a programmed game and the input of a textfile doesn't work.
I get the errors "ios" has not been declared and
"in" was...