YouTube home Comedy Week on YouTube
Upload

Teach yourself C++ Lesson 1 hello world in detail

dcforemanuk dcforemanuk·127 videos
1,622
16,564
Like     Dislike 0

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to like dcforemanuk's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to dislike dcforemanuk's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to add dcforemanuk's video to your playlist.

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

  • Category

  • License

    Standard YouTube License

Loading icon Loading...

Loading icon Loading...

Loading icon Loading...

The interactive transcript could not be loaded.

Loading icon Loading...

Loading icon Loading...

Ratings have been disabled for this video.
Rating is available when the video has been rented.
This feature is not available right now. Please try again later.

Uploader Comments (dcforemanuk)

  • Kake Kalsari

    My project panel just disappeared how do i get it back

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Kake Kalsari's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Kake Kalsari's comment.
  • dcforemanuk

    Click on view select perspectives and click on default perspective.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate dcforemanuk's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate dcforemanuk's comment.
    in reply to Kake Kalsari (Show the comment)
  • William J Plaud

    I don't know if it's my computer, but every time I try using Visual Studio, it won't debug and I use codeblocks and the program comes out as a Trojan. What gives?

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate William J Plaud's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate William J Plaud's comment.
  • dcforemanuk

    it is a false positive or your pc in infected with something, contact your anti-virus provider.

    · 3

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate dcforemanuk's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate dcforemanuk's comment.
    in reply to William J Plaud (Show the comment)

Top Comments

  • Publicservis

    my left ear enjoyed this

    · 23

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Publicservis's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Publicservis's comment.
  • dcforemanuk

    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.

    · 7

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate dcforemanuk's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate dcforemanuk's comment.
    in reply to AUsernamePliz (Show the comment)

All Comments (44)

Sign in now to post a comment!
  • Daniel Weird

    Dude you need a new icon. That spider is 3d as hell lol.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Daniel Weird's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Daniel Weird's comment.
    in reply to MasterJkpatrick (Show the comment)
  • Daniel Weird

    Sweet

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Daniel Weird's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Daniel Weird's comment.
  • Daniel Weird

    Lol thats funny. I was pissed becuase I thought my turtle beach head phones finally shit out on me..

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Daniel Weird's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Daniel Weird's comment.
    in reply to Publicservis (Show the comment)
  • Weedman4201985

    No you don't. I have used visual studio to write this code successfully without using #include stdafx.h. I did it today actually using Visual studio 2012. However the console window closes very quickly so one must add "cin.get();" before return 0. The causes the window to stay up and makes you press enter to close the window

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Weedman4201985's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Weedman4201985's comment.
    in reply to MasterJkpatrick (Show the comment)
  • MasterJkpatrick

    When you use visual studio you must also put in

    #include "stdafx.h"

    before the iostream

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate MasterJkpatrick's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate MasterJkpatrick's comment.
    in reply to William J Plaud (Show the comment)
  • Andrew Edwards

    I'm sure you get these all the time, but I felt like I had to send it. Your video tutorials are great, and I have seen that when people comment with questions you answer them. You both try to explain everything in depth in the videos, and help people through problems in comments. That is absolutely admirable. I am going to post links to your videos just for the simple fact that it seems that you really are out to help people and I really respect that. Take care, and good luck!

    Andrew Edwards

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Andrew Edwards's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Andrew Edwards's comment.
  • dcforemanuk

    It's an old school technology called mono. This means it will only play through a single speaker. As there's only one person talking stereo isn't really needed. At the time my equipment was set to record mono, so mono is what you've got. My later tutorials receive upgraded audio equipment and these play in stereo.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate dcforemanuk's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate dcforemanuk's comment.
    in reply to epic6566 (Show the comment)
  • epic6566

    Ik what's up with the sound?

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate epic6566's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate epic6566's comment.
    in reply to Publicservis (Show the comment)
  • Loading comment...
Loading...
Advertisement
Loading...
Working...
Sign in to add this to Watch Later