Home
Help
Search
Calendar
Login
Register
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Click here to join us on IRC (#charas on irc.freenode.net)!
Charas-Project
»
Off-Topic
»
Archive
»
Really Old Stuff
»
General programming
»
C++
« previous
next »
Print
Pages: [
1
]
Author
Topic: C++ (Read 3361 times)
maxine
Average scripter
Zealot
Posts: 736
¨Dude i am 16 with 2 balls and hair
C++
«
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.
Logged
Archem
One, one too many schizophrenic tendancies
Global Moderator
Over 9000!
Posts: 15,012
I made a fortune in toothpicks, but I lost it all in a fire.
(No subject)
«
Reply #1 on:
November 18, 2006, 09:49:18 PM »
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?
Logged
PyroAlchemist
STOP IT NOW!
Agent
Posts: 932
(No subject)
«
Reply #2 on:
November 18, 2006, 10:03:01 PM »
I forgot all about that topic X_X Wow how about that. I might need to start that up again sooner or later.
Logged
<img src="
http://img20.imageshack.us/img20/4995/pyrotu5.png
">
Archem
One, one too many schizophrenic tendancies
Global Moderator
Over 9000!
Posts: 15,012
I made a fortune in toothpicks, but I lost it all in a fire.
(No subject)
«
Reply #3 on:
November 18, 2006, 10:12:23 PM »
Lol I saved a thread!
Logged
PyroAlchemist
STOP IT NOW!
Agent
Posts: 932
(No subject)
«
Reply #4 on:
November 19, 2006, 12:47:58 AM »
YAY! Now I don't have to watch as it dies again. *leaves* I'll let Maxine do his series.
Logged
<img src="
http://img20.imageshack.us/img20/4995/pyrotu5.png
">
DarkFlood2
Back from the dead.
Zealot
Posts: 778
(No subject)
«
Reply #5 on:
November 19, 2006, 02:15:28 AM »
@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.
Logged
Zeex - Level 70 Undead Warlock, Burning Legion Server.
Meiscool-2
Sage
Posts: 7,030
If you support n00bs, you support communism.
(No subject)
«
Reply #6 on:
November 19, 2006, 02:44:42 AM »
Gary, how's come you don't ask for sex anymore?
Logged
Most Recent:
________________________
Old Stuff:
PyroAlchemist
STOP IT NOW!
Agent
Posts: 932
(No subject)
«
Reply #7 on:
November 19, 2006, 05:07:19 AM »
because you started charging. XD
Logged
<img src="
http://img20.imageshack.us/img20/4995/pyrotu5.png
">
Meiscool-2
Sage
Posts: 7,030
If you support n00bs, you support communism.
(No subject)
«
Reply #8 on:
November 19, 2006, 05:22:57 AM »
I can't support our children on nothing.
Logged
Most Recent:
________________________
Old Stuff:
Print
Pages: [
1
]
« previous
next »
Charas-Project
»
Off-Topic
»
Archive
»
Really Old Stuff
»
General programming
»
C++