It's not really a bad way, although it'd probably be easier to just have your own definition for SDL.
Type: Posts; User: Chib
It's not really a bad way, although it'd probably be easier to just have your own definition for SDL.
Yeah I got those in the real code but I still get errors...
Does anyone know how I can declare a variable like this?
int x
int y
int a=x*y //I want a to be equal to the product of x and y
I hate Dev C, I put in the code and compiled it with the
Borland one just fine, but with Dev(mingw or whatever) I got approx 40 errors.
I tried compiling this thinking I got pretty much all the bugs
worked out, I used Bloodshed Dev first, and it wouldn't even
compile it, then I used the Borland bcc32 and I got this
Fatal F1003...
Yeah it made sense, thanks.
Really great help at this board!
I tried Bloodshed Dev and the Borland C++ Compiler 5.5
What do you mean by putting the variables after main though?
Don't I need main for it to work?
Or do you mean like this
#include...
I really need some help.
First of all, I am new to C++ and I think it's great but
for all the complier errors I get I deserve to die.
So first of all, I want to know of a good compiler
that is...