Charas-Project
Off-Topic => Really Old Stuff => Archive => General programming => Topic started by: maxine on November 18, 2006, 05:48:51 PM
-
So, you want to learn c++? you want to advance and go into further creations like games. If you want to create games like Half life, Final Fantasy etc.. Start off with some general c++. Most games have this particular language in their hearts. You allways encounter variables (Of course). In rpg maker your health is an variable for example. When the health turns 0 the game loop should end and the player has to either way start over again or start from saved position. Then we have C# which goes more to the core in your system. Therefore you can create flexible window applications such as the rpg maker enviorment itself! What i will do is to cover up some stuff which hopefully will make you interested in going deeper and deeper into the makings of various applications.
1. I'd recommend you to download Dev-cpp. Dev-cpp is an IDE which i recommend for starters. Visual studio is also an example but alot more complex. Anyway dev-cpp can be found here: http://prdownloads.sourceforge.net/dev-cpp/devcpp-4.9.9.2_setup.exe Pick a mirror that suits you and install the IDE.
There are no fixing with the install, just install it and run it. Now when you are inside the IDE you should se pretty much just gray empty spaces and some options in the toolbar. Go to file->new->source file.
You may now see that the grey space turned into white with a blue line at the top. Fine! This is a plain source file, from here you can make differennt applications from different languages depending on what libraries you have. We should not cover Libraries now since you allready have what you need.
Back to the white space. I want you to paste this in there:
#include
using namespace std;
int main(){
cout << "Hello World!";
getchar();
return 0;
}
Now after that press F9 (the compile key). If everything runs smooth then you should get a black little console window saying "Hello World!".
Next time i will cover up what everything does and go more into c++. This tutorial was made to start you up.
-
I think there was already a C++ thread... Yup.
http://charas-project.net/forum/showthread.php?threadid=16414&forumid=7&catid=5
But it's for the best that you started this one, wouldn't want to get flamed for a giant topic kick, would you?
-
I forgot all about that topic X_X Wow how about that. I might need to start that up again sooner or later.
-
Lol I saved a thread!
-
YAY! Now I don't have to watch as it dies again. *leaves* I'll let Maxine do his series.
-
@Archem: I didn't think you travelled this board. Hmm...
As for this series, you would do well to explain what each method is and what it does. Not just give program segments.
EDIT: Didn't read the bottom of your post, lol.
-
Gary, how's come you don't ask for sex anymore?
-
because you started charging. XD
-
I can't support our children on nothing.