Visual C++ 2010 Tutorial 2 - Variables

preview_player
Показать описание
pm me with questions or requests
Рекомендации по теме
Комментарии
Автор

You are supper Professional
Thank you very much

noneapplicable
Автор

Thanks for the video! You really are helping me out with these things! Thank you! I hope to see more and more videos to keep coming! Thanks again!

AssassinsCreed
Автор

Aside from the unique syntax used to create the program, this feels very similar to Java. Thank you for your tutorials. I felt lost with the syntax when I started to try C++, but now that I see it, I feel like I can actually do something with it.

nybxcrotona
Автор

thank you for uploading this tutorials! you have a new sub

CWN
Автор

I paused the video, and started playing with some statements I learned from Java. It's actually pretty similar, except for some different syntaxes.

TheLumbersnack
Автор

ur the bomb
dude i like all ur videos... thx man

zzdasdasd
Автор

sweet ! the second tutorial i followed correctly :)
oh yeah, you can write it like this too :
-Whats your favorite number?
5
-Wow ! 5 is my favorite number too, have another one !
8
-Wow 8 is my favorite number too !
( then continue repeating such questions or just end the script so the console ends )

Joeriiix
Автор

THX MAN... AFTERI DID THIS I MADE A BIG QUESTIONER

SheIdonn
Автор

It tells C++ that you are using the standard functions and such as far as I know. Like for example, "cout" is the print function and it comes from 'std'. If you didnt have "using namespace std" you would have to call it like "std::cout". So it really just makes coding simpler and easier to read. Oh. and you're welcome. xD

caspeRedits
Автор

There is also a variable type float. It is similar to a double but not as precise. It, as the name says is half as precise as a double.

seanbonorden
Автор

It's called String Concatenation

rndmguy
Автор

just a quick note, i found that with the string it outputs, you don't need to put endl at the end, this could simply be a difference from 08 to 10, but i thought it worth noting

arussellsaw
Автор

In first tutorial it says so. It means that you don't have to return a value (return 0; ) at the end of the program. I think it's more sensible to use voids, but I don't know of any bonuses to either, other than less text with the void.

SillyEddyPhotography
Автор

If you want to use a number, you can replace "int" with "double"

hippsomhapp
Автор

also, endl is a replacement for "\n" they both do the same thing.

JamesTaylor-rater
Автор

4:44 it is sometimes called hard coded string (i picked it up when i was learning c#.net) but ther are more names for it

npcw
Автор

if a number is a little bit past 7 billion, the number will go into the negitives

JamesTaylor-rater
Автор

??? at 7:50 the num1 still equals to 4. SO how is it the same when inputed and in output???

darodism
Автор

declearing values in C++ is the same as in C#. in wich Visual C# is also .NET just like vb.NET

dimucchu
Автор

You need to import (#include s) "string" as string

primisterD
join shbcf.ru