compiling and executing c++ in terminal : Hello World!

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,505
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 9, 2010

simple helloworld prog to demonstrate the compiling and running of c++ programs on terminal - mac os .

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:
see all

All Comments (4)

Sign In or Sign Up now to post a comment!
  • @HamishWare - dude, if you wanna compile, the code is

    g++ helloworld.cpp -o main

  • @HamishWare - if your using vim. once u've typed your program, use these steps:

    1) hit esc

    2) type ':wq'

    3) hit return.

    - u'll save the coding and exit vim back to the unix terminal

  • -bash: c++: command not found

  • How Do u Exit Out Of The Coding!?

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more