Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualAltruist

Posted 31 October 2012 - 01:20 PM

I recommend, assuming you're on Windows, NetBeans/C++ on MinGW. Eclipse/CDT is more professional, but NetBeans is just friendlier for beginners.
MinGW is the Windows implementation of GCC. You can get vanilla MinGW or The Dragon MinGW which supports x64. GCC which is currently the de facto compiler of choice for *nix users, though LLVM is starting to come up strong.
For the (mostly) complete *nix experience, I'd get the MSYS setup available from the main MinGW distribution. Your new favorite phrase will become
[source lang="bash"]./configure --prefix=/mingw && make && make install[/source]
For a complete MinGW setup, I'd check out this site: (Warning: LENGTHY, BUT WORTH IT.)
http://ingar.satgnu....gw32/index.html

Moving from Java though, as stated above, the biggest issues is memory management. Every object you allocate NEEDS to be deleted. Pointers go hand in hand with this one. Are you sending to a pointer to an object or a pointer to a pointer to an object? This will become important later on in your explorations.
For leaks, I found this, but haven't gotten around to using it (I tend to do things by hand - and consequently rarely get things done.)
MPatrol (Setup for MinGW)

As for libraries, the best things in life are free, or so I've been told.
For standard everything but the kitchen sink library needs, the Boost Libraries will cure what ails you.
SDL is the game library everyone starts with. (You'll also want SDLImage, SDLNet, and SDLMixer.)
SFML is an excellent "next-step" game library.
For pure 3D, you've got Irrlicht and Ogre3D.

#1Altruist

Posted 31 October 2012 - 01:17 PM

I recommend, assuming you're on Windows, NetBeans/C++ on MinGW. Eclipse/CDT is more professional, but NetBeans is just friendlier for beginners.
MinGW is the Windows implementation of GCC. You can get vanilla MinGW or The Dragon MinGW which supports x64. GCC which is currently the de facto compiler of choice for *nix users, though LLVM is starting to come up strong.
For the (mostly) complete *nix experience, I'd get the MSYS setup available from the main MinGW distribution. Your new favorite phrase will become
[source lang="bash"]./configure --prefix=/mingw && make && make install[/source]
For a complete MinGW setup, I'd check out this site: (Warning: LENGTHY, BUT WORTH IT.)
http://ingar.satgnu.net/devenv/mingw32/index.html

Moving from Java though, as stated above, the biggest issues is memory management. Every object you allocate NEEDS to be deleted. Pointers go hand in hand with this one. Are you sending to a pointer to an object or a pointer to a pointer to an object? This will become important later on in your explorations.
For leaks, I found this, but haven't gotten around to using it (I tend to do things by hand - and consequently rarely get things done.)
MPatrol (Setup for MinGW)

As for libraries, the best things in life are free, or so I've been told.
SDL is the library everyone starts with. (You'll also want SDLImage, SDLNet, and SDLMixer.)
SFML is an excellent "next-step."
For 3D, you've got Irrlicht and Ogre3D.

PARTNERS