|
|||||||
| Home | Register | FAQ | VB Image Host | Members List | ![]() |
Want VIP?? | Arcade | Search | Today's Posts | Mark Forums Read |
|
Welcome to the Piяator Community forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
VIP Exclusive
![]() ![]() Join Date: Dec 2007
Location: Idaho
Posts: 1,007
Thanks: 186
Thanked 254 Times in 128 Posts
|
Alright heres the CODE and i'll explane how this works.
Code:
# include <iostream>
using namespace std;
int main
{
cout << "Hello World!" << endl;
return 0;
}
And that is how you make a hello world program I and I hope you understood most of that lol . But I would sudjest getting a book on C++. Sams Teach Yourself C++ in 21 days (Fifth Edition) this book is what I first used to learn, its not all that hard, and I would greatly recomend this book to everybody . Enjoy!-master
__________________
Last edited by Master : 04-29-2008 at 11:23 PM. |
|
| The Following 3 Users Say Thank You to Master For This Useful Post: |
|
|
|
|
|
|
|
|
#4 (permalink) | |
|
VIP Exclusive
![]() Join Date: Dec 2007
Location: pirator.net
Posts: 218
Thanks: 37
Thanked 41 Times in 27 Posts
|
Quote:
Code:
using namespace std; |
|
|
|
|
#5 (permalink) |
|
Banned
![]() Join Date: Oct 2007
Posts: 0
Thanks: 224
Thanked 358 Times in 172 Posts
|
Yes, you do need to add,
Code:
using namespace std; Code:
std::cout<< Code:
cin.get(); Code:
# include <iostream>
using namespace std;
int main
{
cout << "Hello World!" << endl;
cin.get();
return 0;
}
![]() Last edited by Binary_Ninja : 04-29-2008 at 11:21 PM. |
|
|
|
#7 (permalink) | |
|
VIP Exclusive
![]() ![]() Join Date: Dec 2007
Location: Idaho
Posts: 1,007
Thanks: 186
Thanked 254 Times in 128 Posts
|
Quote:
![]()
__________________
|
|
|
|
|
#10 (permalink) |
|
VIP Exclusive
![]() ![]() Join Date: Dec 2007
Location: Idaho
Posts: 1,007
Thanks: 186
Thanked 254 Times in 128 Posts
|
if you get board with a language as simple as javascipt I wouldn't sudjest learning C++ being that its so much bigger and complex. Though, if you want to try go ahead.
__________________
|
|
|
|
| mahmoomabarcha |
|
This message has been deleted by Binary_Ninja.
Reason: spam
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
| FirePremiums |