Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Help in programing?????

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.
 
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:

Code:
g++ -o HelloWorld HelloWorld.cpp

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.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top