Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Teach yourself C++ Lesson 1 hello world in detail

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,716
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 9, 2011

Today we are going to take a traditional approach to programming and start with what is typically the simplest program to perform in computer programming. The Hello World program has been used since 1972, when it first appeared in Tutorial Introduction to the Language B. It's purpose is to check that a new compiler setup is working correctly, and as a way to teach new users the simplest syntax and program structure needed to get a useful result from your program. C++ was first invented in 1983 at Bell Labs as an enhancement to the already existing C language. C itself was developed between 1969 and 1973. As you've begun to realise both these languages have long histories and are still in active use today remaining among the worlds most popular programming languages.

This tutorial, is going to be split into three sections, the first section, is where we type in the source code, to get a feel for it.

The second part is going to deal with the specific commands of that source code so you get a picture of what is going on.

The third part is going to deal with the inevitable jargon used throughout this tutorial. These will include words like compiler, preprocessor, header files, etc.

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (dcforemanuk)

  • Hey, nice tutorial. I think i was the one sugesting that you shuld make C++ tutorials btw. I got one question: why don't you use microsoft visual C++ studio? I also think you would get more views by using that program :)

    -Tim

  • @AUsernamePliz I use Microsoft Visual Studio with my DarkGDK tutorials, and there's several advantages with code::blocks.

    1) Windows, Linux, and Mac users can use code::blocks

    2) Code::blocks is completely free and open source

    3) I may get into OpenGL and multi-platform coding in the future.

    4) I like code::blocks!

    5) I always try to support quality open source software.

  • I noticed that you use 64bit Windows.

    How is the performance? Is it really better than 32 bit like they say?

    It works better than 32 bit version on multicore CPU?

    Thanks for the tutorial. There still isn't enough good tutorials about C++.

    So very nice to see another good long tutorial.

    I mostly use Pascal but trying to move to C++ as time goes. Because many people use that instead Pascal.

  • @jw200 32-bit vs 64-bit doesn't make a damned bit of difference performance wise. The only difference between the two, is the amount of memory you can address, and if you need to address more than 4GB of RAM, then you're way more advanced than I am you should be teaching me!! :)

    If you're pascal trained, you might like to look into Delphi, it's based on that language.

see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • errr 21 min for "Hello World" ?

  • Your very smart.

  • @dcforemanuk Plz make more videos your deffently best at this . . i like how you define everything one by one, and your really clear easy to understand

  • i haven't done c++ in a long time. it was a nice refreshment.

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