Let's Learn C++ ~ Basics: 2 of 14 ~ Variables & Data Types

preview_player
Показать описание
Learn the basics of programming in C++ (Cpp) in this series of tutorials! This second lesson focuses on different data types and variable creation. This lesson follows the C++ Core Guidelines.

=============================

➤ Debug + Regular Challenges:

➤ Download Visual Studio:

=============================
EPISODES:

♦ LLC++ #1 ~ Visual Studio Setup + My First Program:

♦ LLC++ #2 ~ Variables & Data Types:

♦ LLC++ #3 ~ Operators & Input:

♦ LLC++ #4 ~ Arrays, Chars & Strings:

♦ LLC++ #5 ~ References & Pointers:

♦ LLC++ #6 ~ If, Else, Switch & Conditional Operator:

♦ LLC++ #7 ~ For, While, Do, Nested Loops:

♦ LLC++ Solutions #1-7:

♦ LLC++ #8 ~ Additional Libraries ~ Boost + GSL:

♦ LLC++ #9 ~ Functions p1 ~ Input, Output, Body:

♦ LLC++ #10 ~ Functions p2: Headers, Macros & Namespace:

♦ LLC++ #11 ~ Functions p3: Const, Pre/Post Conditions

♦ LLC++ #12 ~ Debugging

♦ LLC++ #13 ~ Enum, Struct, Ascii

♦ LLC++ #14 ~ Classes p1

♦ LLC++ ~ Solutions #8-14

=============================
PLAYLISTS:
➤ Let's Learn C++: BASICS

➤ Let's Learn Python: BASICS

➤ Let's Learn Python: OOP

➤ Let's Learn Python: Scripting

=============================

--- FIND ME! ---

Music by Juto:

=======================================

New Episode (nearly) Every Friday

=============================
☁♡ Keep the Dream Alive! ♡☁

My comments and words are my own and do not represent the views or opinions of my employer in anyway.
Рекомендации по теме
Комментарии
Автор

I am not sure if it is the version but had to change the following lines to eliminate the errors:
float cash = 2.32f;
const char* sandwich = "ham";

BlueBirdgg
Автор

my school basically gave us a textbook and a link to your channel to teach us c++. glad you are actually good.

andyroo
Автор

6:55 in visual studio 2017 you dont need to have the star or double quote to do a string you can just do: char sandwitch = 'ham';
just wanted to say

Alexander-xoho
Автор

Thankyou for this! I finally got VS2015 up running and am following your tutorials. Would love to see some tutorials on pixmaps and direct access to pixels as pitch etc.. Keep up your teaching style! I havent got bored one second!

leechatt
Автор

Gotta say Trevor you are awesome with explaining each technicality. My teacher just reads from a power point so I am practically stuck learning everything in terms of implementing it into a compiler to run. Keep up the work.

pangde
Автор

Can you please guide me on How to print in standalone output window instead of console in visual studio?

kidsparty
Автор

Hello there. I wanted to ask is it advisable to avoid using auto? Does it affect performance? When would we use auto and when would we not?

kintarios
Автор

Note to noob-self: When wondering why the little CMD window will not show up? --Remember to check if it is HIDDEN behind the VS 17 app. DUH! Thanks for a great video Trevor.

Freebird
Автор

Is the first challenge to accept input and display the output of the five variables? I have to say I don’t really understand the second challenge. I would be very grateful if you help me.

mathiashale
Автор

Trevor!!!
'<' is called the less than sign ;)

odgreat
Автор

Great series that everyone wanting to learn c++ should watch.

Ran-wmlt
Автор

As far as Visual Studio 2017 is concerned there is an error in your code related to:
char* sandwich = "ham";
error: a value of type "const char *" cannot be used to initialize an entity of type "char *"
alas, the answer was within the error. changed char" to const char* and problem resolved.

jasonpiazza
Автор

int x;
x = 3;

works fine too right?

knifenuturban
Автор

Great videos! Very detailed and certainly not boring .

zeynepaydogan
Автор

thank you from Korea, for all those lectures! One thing I want to check is,
I found out that when using vs2017, you can put the limit of value after the variable name like 'a[10]' so that the error doesn't occur
but still not sure if I can completely replace char* declare this way, can I get an advice about this?

Snail
Автор

for some reason I could only get the code to work by changing char* to const char*, not sure why though

bend.
Автор

(challange), unsigned doesn't work with double, does it?

BlathoPlay
Автор

Question!! spot in video 18:34, why are the positive number off by one...??

phantasmmasquerade
Автор

I am getting a error when I press "Local Windows Debugger"
its says "Could not find
was build with /DEBUGFASTLINK which requires object files for debugging. Subsequent failures will be logged to the Debug pane of the output window"

Any help?

hijackedpickle
Автор

your voice, the cat, and video structure is pretty fun and interesting. thanks

adrianb
visit shbcf.ru