Forums | Hello Guest, Login or Register | > > L4Y Files: No longer here! < <
  Levels-4-You : Lounge : C or C++ [Forum Rules]  
Page 3
Multiple Page Topic : 1 2 
Back to Forum Thread List

loser   Posted 1st Feb 2006 2:40am
L4Y Member
Post 14 / 39

To jump around a little, or maybe not: I just read something very interesting about Bloodshed's Dev-C++ IDE compiler;

Quoting J.S.Harbour-Game Programming All In One
Dev C++ includes an opensource compiler called GCC (GNU Compliler Collection) that is the most widely used compiler in the world.... many of the world's operating systems are compiled with GCC, including Linux. It is a sure bet that satellites in orbit around the Earth have programs running on their small computers that were compiled with GCC. This is not some small niche compiler - it is a global phenomenon .... Most of the console games that you enjoy are compiled with GCC. In contrast, the most common Windows compilers, such as Microsoft Visual C++ and Borland C++ Builder, aren't used as widely but are more popular with consumers and business.


Harbour also suggests using (and supports using) Allegro a multi platform game development library. The primary support website for Allegro is at http://www.talula.demon.co.uk/allegro/.

... back to the books for now.
"Sometimes you kick, sometimes you get kicked." - Hutchence    
cyrus5   Posted 1st Feb 2006 12:15pm
[CP] Director
L4Y Member
Post 60 / 241

Have played with Allegro, never really sat down and learnt it per-se. Tend to use glut for most of my programming as its simpler and I dont need aq full game dev library. I'm mostly just prototyping algorithms that need a quick simple visual output.

SDL is worth a look too, similar thing to allegro.

GCC is a nice compiler btw, use it alot at work, infact when ever I am not developing in visual studio.

Good point on initialisation vidi. The difference you will notice is that when compiling with debug information, all allocations are guarded to check memory leaks (a 'sentinel' is written at the end of your memory allocation so the program knows when it has gone outside its box, typically its a few words of 0xCDCDCDCD) and variables are also initialised for you in debug. If you (in GCC) compile with the command arguament -wall it switches on 'complete anal retentive warning mode' which will pick up non initialisations, unused variables etc and a bunch of other stuff. worth doing every now and then! In release mode, it wont pick up the fact you just overwrote lumps of os code, and any variable will be initialised to whatever crap just happened to be stored in memory at the time. As long as you set the value before you use it its ok.

doing
int i;
cout << i << endl;

would print any old garbage.

doing

char mystring[200];
cout << mystring << endl;

will print out random CENSORED from memory until it gets to a null terminating character.

Funky
Only the dead have seen the end of war - Plato
I think it would be a good idea. - Mahatma Gandhi, when asked what he thought of Western civilisation.
cyrus5.co.uk!  
 
loser   Posted 9th Feb 2006 7:12am
L4Y Member
Post 16 / 39

Is this topic dead? I got a crap load of more info for you if your interested.
"Sometimes you kick, sometimes you get kicked." - Hutchence    
133   Posted 9th Feb 2006 7:26am
L4Y Member
Post 16 / 79

A few things, if it's been at least ten days, it's dead or if the last few posts have been a downward spiral of flaming, then it'd be best to let it die. If the topic is dead, PM the OP but go ahead and post.

I'm pretty sure if I keep correcting people with what I think are "forum rules" I'm sure to be banned.
I TOLD YOU I'D SHOOT!
BUT YOU DIDN'T BELIEVE ME!
WHY DIDN'T YOU BELIEVE ME?!  
 
cyrus5   Posted 9th Feb 2006 10:22am
[CP] Director
L4Y Member
Post 77 / 241

Its a forum, if you post then the thread will move to the top of the list and become 'undead', if its at the top of the lists people will read it.

But yeah, like 133 said, if a topic has turned into some kind of religious hate war, then its best to start a new thread!
Only the dead have seen the end of war - Plato
I think it would be a good idea. - Mahatma Gandhi, when asked what he thought of Western civilisation.
cyrus5.co.uk!  
 
modmaker91   Posted 10th Feb 2006 1:23pm
L4Y Member
Post 203 / 407

Nah it isn't dead yet. It's like RF, unconscious


What was all this info you were talking about, loser?
Let those who don't understand me, fear me. Let those who understand me, fear themselves.    



loser   Posted 11th Feb 2006 7:33am
L4Y Member
Post 17 / 39

Quoting modmaker
Nah it isn't dead yet. It's like RF, unconscious
LOL, funny.

Quoting 133
I'm pretty sure if I keep correcting people with what I think are "forum rules" I'm sure to be banned.
More like no one will like you.


Back on topic....

I found a good 'teach yourself' resource for C++. It is here newdata.box.sk/bx/c/.

For those who are past that, I have found that there is an extensible language that some major game dev companies are using in their development houses, LUA. The list of developers using LUA is broad and includes titles such as Far Cry. I have also read reports that some people highly skilled in C++ are not getting gaming jobs because of having no knowledge in the 'extensible' language area. Find out more about LUA here; www.lua.org/. There is a lot of good resources for it available on that site and I got it working as a library/include in Dev-C++ in a matter of minutes (i couldn't find a devpack for it).

Another thing I have found during all my searching is that all roads keep leading back to either here: www.gamedev.net/ or here: www.gametutorials.com/.

There is also a good list of links here (if you follow the 'links' link ): www.tekobyte.com/.
"Sometimes you kick, sometimes you get kicked." - Hutchence    
Page 3
Multiple Page Topic : 1 2 


Copyright © 2000-2025 Levels-4-You
Your request was handled in 0.09 seconds.