Fidelity Bravery Integrety
Welcome to www.fbiclans.forumotion.com
Please enter your username and password to log in.
If you are not registered yet please hit the "Register" button to do so.
Thank you,
Chef
Fidelity Bravery Integrety
Welcome to www.fbiclans.forumotion.com
Please enter your username and password to log in.
If you are not registered yet please hit the "Register" button to do so.
Thank you,
Chef
Fidelity Bravery Integrety
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Fidelity Bravery Integrety
 
HomeShoutboxGallerySearchLatest imagesRegisterLog in
New FBI Forums:www.fbiclans.forummotion.com
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
May 2024
MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
2728293031  
CalendarCalendar
Search
 
 

Display results as :
 
Rechercher Advanced Search

 

 [Tutorial] C++ for Noobies.

Go down 
5 posters
AuthorMessage
KeimpeHAX
Coder
Coder
KeimpeHAX


Female
Number of posts : 21
Registration date : 2009-04-14

[Tutorial] C++ for Noobies. Empty
PostSubject: [Tutorial] C++ for Noobies.   [Tutorial] C++ for Noobies. Icon_minitime114/4/2009, 20:46

yo people! this is out here for the noobs!!!

language: C++
difficulty: NEWBIE (3n3rgy)
program: compiler: google C++ Compiler
credits: freckles i think

1.Open a new empty win32 console application. Name it Hello.

2.Open a new c++ source file, name it hello.

3.Now in the source file we need to add the code...type
Code:
#include

this tells the compiling programs preprocessor to include the iostream standard input/output c++ library

4.now on a new line, add the command...
Code:
using namespace std;

All the elements of the standard C++ library are declared within what is called a namespace, the namespace with the name std.
So in order to access its functionality we declare with this expression
that we will be using these entities. This line is very frequent in C++
programs that use the standard library, and in fact it will be included
in most of the source codes included in these tutorials.(explaination
thanks to www.cplusplus.com

5.on another new line type the command...
Code:
int main()

This command defines where the program should begin from, every c++ needs this command.

6.Very simple method, we need to begin the actual program so type on a new line a simple Code:
{

this little 'watsamacallit' whatever is inside this little
'watsamacallit' and the finishing 'watsanacallit' is what happens when
the program is executed.

7.Ok now we need the program to do something once executed so type...
Code:
cout<<"Hello World! ";

cout<< is the standard output method of c++ code.
; defines the finish line of that command, everything within the 'watsamacallit''s need to finish with a ;

8.So close to finished!, on a new line type...
Code:
return 0;

The 'return 0' statment tells the main function to
finish.This is the most usual way to finish a c++ program, presuming it
worked well with no errors.

9.new line, finish it off with Code:
}

'WATSAMACALLIT' !!!

10.add some credits...same as et configs //
Code:
//This is Credits
//My c++ program!

11.Now we need to execute our program...from the menu
Build/Execute Hello.exe

you should get a console program up saying "Hello World!" press any key to continue

if not tell me what you got, hopefully i can help you. [Tutorial] C++ for Noobies. Biggrin

If you can't do this. pleas close this site. turn off the pc and go watch TV.
Back to top Go down
|FBI|Poo~BeaR|eG*M
Staff Sargeant, Grade 2
Staff Sargeant, Grade 2
|FBI|Poo~BeaR|eG*M


Male
Number of posts : 165
Location : Netherlands
Registration date : 2009-03-15

[Tutorial] C++ for Noobies. Empty
PostSubject: Re: [Tutorial] C++ for Noobies.   [Tutorial] C++ for Noobies. Icon_minitime114/4/2009, 23:57

I think i cud do this.. When i read the steps 1 by 1 Very Happy But i aint gonna make this kinda stuff, idk y ur puttin this S*** up on a site where hacks aint allowed man Razz
Back to top Go down
Jelly
Staff Sargeant, Grade 2
Staff Sargeant, Grade 2



Male
Number of posts : 150
Location : Canada, Saskatchewan
Registration date : 2009-04-10

[Tutorial] C++ for Noobies. Empty
PostSubject: Re: [Tutorial] C++ for Noobies.   [Tutorial] C++ for Noobies. Icon_minitime115/4/2009, 00:10

Very nice i like it might use one day Smile
Back to top Go down
|FBI|Chef|AAT|
Forum Founder
Forum Founder
|FBI|Chef|AAT|


Male
Number of posts : 313
Location : The Netherlands
Registration date : 2009-03-06

[Tutorial] C++ for Noobies. Empty
PostSubject: Re: [Tutorial] C++ for Noobies.   [Tutorial] C++ for Noobies. Icon_minitime115/4/2009, 00:30

|FBI|Poo~BeaR|eG*M wrote:
I think i cud do this.. When i read the steps 1 by 1 Very Happy But i aint gonna make this kinda stuff, idk y ur puttin this S*** up on a site where hacks aint allowed man Razz

This has nothing to do with cheating/hacking.
It's just the basics of the C++ language (Computer language used for coding)
Back to top Go down
http://www.ET-Scripts.omgforum.net
KeimpeHAX
Coder
Coder
KeimpeHAX


Female
Number of posts : 21
Registration date : 2009-04-14

[Tutorial] C++ for Noobies. Empty
PostSubject: Re: [Tutorial] C++ for Noobies.   [Tutorial] C++ for Noobies. Icon_minitime115/4/2009, 09:04

You call this hackstuff?

Its the language where your pc run on..
Back to top Go down
Ghost
Private, Grade 2
Private, Grade 2



Number of posts : 23
Registration date : 2009-05-14

[Tutorial] C++ for Noobies. Empty
PostSubject: Re: [Tutorial] C++ for Noobies.   [Tutorial] C++ for Noobies. Icon_minitime121/5/2009, 11:56

nice
Back to top Go down
Sponsored content





[Tutorial] C++ for Noobies. Empty
PostSubject: Re: [Tutorial] C++ for Noobies.   [Tutorial] C++ for Noobies. Icon_minitime1

Back to top Go down
 
[Tutorial] C++ for Noobies.
Back to top 
Page 1 of 1
 Similar topics
-
» [Tutorial] How to make a skin!
» [Tutorial] Make a Name Stealer!

Permissions in this forum:You cannot reply to topics in this forum
Fidelity Bravery Integrety :: Others :: Guides-
Jump to: