Welcome Guest ( Log In | Register )

[ Big| Medium| Small] -



Post new topic Reply to topic  [ 2 posts ] 
theyouthexpress
  Thu Feb 02, 2012 11:28 am
Member
hello guys,

I'm newbie in this community and learning C++ online from my bro but it's not here now...I've create a program in C++ but i don't know how to compile it...So, please guys help me out.........
_________________________________

The Youth Express is the Online Youth Development Magazine for the youth and It's main aim to helping youth in all over the world.


Top Top
 Profile  
 

Juan J. Sánchez
  Thu Feb 02, 2012 6:55 pm
"Do not let your hearts be troubled. Trust in HBG; trust also in me."
- Jesus Brist
User avatar
Sponsor

Location: Costa Rica
First, if you really want to learn C++, I suggest you take a look at the following website:
http://www.learncpp.com/

Second, I recommend you install an Integrated Development Environment (IDE). My favorite IDE is Microsoft Visual C++. If you install an IDE, it will most likely install the compiler for you. Then you just click a button, and it will compile your program. Using an IDE is incredibly useful in many different ways, including color coding, and a better way to organize your projects.

If you don't want to install an IDE, you can always compile directly from Command Prompt. First, you'll want to download a C++ compiler. Open Command Prompt (you can do this by searching for cmd.exe). Assuming your main class is called HelloWorld, from the command line, type:

Expand to see the code.


This will compile and link HelloWorld.cpp. To run it, type: HelloWorld (or whatever your main class is called), and you will see the output of your program.

_________________
Image Internal Medicine
Image Obstetrics & Gynecology
Image Pediatrics
Image Surgery
Image Psychiatry, Epidemiology & Ethics


Progress details:
Content Hidden


Top Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  
cron

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Hosted By: