Vulkax
05-22-2006, 11:15 PM
i dont know anything about developing games but ive heard of this c++ thing but wuteva, i was wundering if any1 cud show me a program to teach me and help me start like basic stuff and i dont want to rush in and make a game i just wanan practice and stuff, thx
Eriond
05-22-2006, 11:40 PM
Well, if you're serious about learning C++, I'll start you off ;)
Okay. C++ is a programming language. You just write code and the computer does the stuff you tell it. But, to first make the code into a .exe, you have to compile it. And to compile it, you need a compiler.
And here's the link to an IDE, with a compiler : http://prdownloads.sourceforge.net/dev-cpp/devcpp-4.9.9.2_setup.exe
Okay. That thing's pretty easy to install, you just double-click the exe, and it install it and everything.
Once it's installed, run it.
First off, I hate to say it, but you're a long way away from writing games. (Games with graphics and stuff anyway)
Anyway. Inside Dev-C++, go to
File --> New --> Project
Click console application, then click okay. Save the file where you want to save it, by default, it's in the Dev-Cpp folder, but you can save it anywhere.
Once that's done, you can start coding.
The place I learned to code from was:
http://www.cprogramming.com/tutorial/lesson1.html
That should get you started. You should be able to put stuff out into a dos window after the first lesson. While that might not sound like much, it's a great step forward. Read through the tutorials on the cprogramming site. By the time you get to the... oh, I don't know, the inheritance tutorial, and you can do all the other stuff pretty much off the top of your head, you should be ready for the next step (which was in my case, Win32 programming).
Anywho, if you can master the tutorials on that site, you'll be one step closer to writing your very own game. And remember, even if you can't see how an aspect of the tutorial could possibly relate to gaming, trust me, it probably does. Just stick with it. If you have any questions, just post here, and I'll be glad to answer :)