Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dev C++ 5 compiling
#11
Quote:(dev-c++ 5 now ships with gcc 3.1.0 as opposed to the 2.x version 4 ships with).

Actually, it's been updated recently to use gcc 3.3.x

--Just FYI
Reply
#12
Citpes, your compiler does throw an error, right? Post it
Reply
#13
thats whats weird. it compiles fine. no errors or even warnings. when it gets to that function that i posted, it crashes my program.
as i mention above, another program i am working on (my level editor) has a very similar function to load maps, but it takes no params cause every thing is hardcoded (for now Smile ), and it dosnt crash the level editor.
Reply
#14
Then there's just a little mistake in your code... Like "maxX = 0" aso.
Reply
#15
Yeah that was my fault, its actually 3.3.1 and i didnt double check, and i rememberd 3.1 instead. At least i got the major version right Smile


Er... looking at your code let me say :o :o yeah, thats some interesting code you got there. Why are you doing intro[][200]? wouldnt it be easier to use **intro or just use a single []?(which would make your life easier)?

Also is map defined as int[200][200]?
In which case youll want to define it as int [201][201]. or change <= to <.
b]Hard Rock[/b]
[The Stars Dev Company] [Metal Qb flopped] [The Terror]
Stop Double Posts!
Whats better? HTML or Variables?
Reply
#16
Yeah, indeed

EDIT:: ITYM 199 :wink:
Reply
#17
ye, that code is whack isn't it?
its from about 6 months ago when i was a ultra noob to it (still a noob though :oops: ).
I just tried to compile that project with the new ver old devcpp cause i knew it worked with the old version.
it was a bit of a test to see if i had allegro installed right.

That project is in the 'unfinished' folder right where it will stay :lol: .

I got it compiling and running fine now though, thanx for all the help 8) 8)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)