Teach yourself C++ Lesson 1 hello world in detail
Sign in to YouTube
Sign in to YouTube
Sign in to YouTube
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...
Loading...
Loading...
Loading...
Loading...
-
9:11
Teach yourself C++ Lesson 2.0 - Internal data creation and managementby dcforemanukFeatured
3,328
-
6:15
Teach Yourself C++ Lesson 0 - install and setup code::blocksby DarkPRINCIPLES
12,910 views
-
15:21
Teach yourself C++ Lesson 2.1 - Integersby dcforemanuk
3,096 views
-
4:25
C++ Code::Blocks error; uses an invalid compiler. Probably the toolchain pathby DarkPRINCIPLES
28,102 views
-
50:46
Lecture - 1 Introduction To Computingby nptelhrd
174,252 views
-
23:35
Object Oriented Conceptsby spinningheadmedia
55,245 views
-
C++
18,677 videos542
-
8:15
C++ Tutorial (1) - Absolute n00b spoonfeedby antiRTFM
336,529 views
-
2:20
C++ Programmerby CrankyProgrammer
340,101 views
-
1:30:37
Object-Oriented Programming in C++ Live Class - Lecture 2by Barbara Hecker
40,659 views
-
1:12
Bjarne Stroustrup: Advice for C++ Developersby Big Think
59,363 views
-
23:51
C++ Lesson 2: Variablesby All Things Tech...
3,945 views
-
23:42
Langage C - Débutant 1 (Nouvelle version)by bjornulf2011
37,260 views
-
3:57
Coding with Notch (from Minecraft: The Story of Mojang)by 2PlayerProductions's channel
588,455 views
-
38:29
Introduction to C Programming Iby School of Computer and Information Sciences
135,476 views
-
10:02
شرح درس في C++- مبسط-by ghali almaqboli
15,217 views
-
11:26
Teach Yourself HTML / XHTML Lesson 2 (Novice)by dcforemanuk
1,153 views
-
4:24
Installing MinGW - C Compilerby Ricardo Bianchin
9,797 views
-
50:12
Lecture - 1 Introduction to programming languagesby NPTEL
207,017 views
-
10:43
C++ Beginners Tutorial 1 (For Absolute Beginners) - With Zoomby One Stop Programming
29,656 views
-
9:59
C++ Tutorial 1 -- Installing Code::Blocks, Beginners C++ Vocabulary, & Building a Projectby ProgrammingForums
2,799 views
- Loading more suggestions...
Uploader Comments (dcforemanuk)
Kake Kalsari 2 weeks ago
My project panel just disappeared how do i get it back
Sign in to YouTube
Sign in to YouTube
dcforemanuk 2 weeks ago
Click on view select perspectives and click on default perspective.
Sign in to YouTube
Sign in to YouTube
William J Plaud 1 year ago
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 to YouTube
dcforemanuk 1 year ago
it is a false positive or your pc in infected with something, contact your anti-virus provider.
Sign in to YouTube
Sign in to YouTube
Top Comments
Publicservis 10 months ago
my left ear enjoyed this
Sign in to YouTube
Sign in to YouTube
dcforemanuk 1 year ago
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.
Sign in to YouTube
Sign in to YouTube
All Comments (44)
Daniel Weird 6 days ago
Dude you need a new icon. That spider is 3d as hell lol.
Sign in to YouTube
Sign in to YouTube
Daniel Weird 6 days ago
Sweet
Sign in to YouTube
Sign in to YouTube
Daniel Weird 6 days ago
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 to YouTube
Weedman4201985 2 weeks ago
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 to YouTube
MasterJkpatrick 1 month ago
When you use visual studio you must also put in
#include "stdafx.h"
before the iostream
Sign in to YouTube
Sign in to YouTube
Andrew Edwards 2 months ago
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 to YouTube
dcforemanuk 3 months ago
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 to YouTube
epic6566 3 months ago
Ik what's up with the sound?
Sign in to YouTube
Sign in to YouTube