C++ Tutorial 3 - For Loops and If statements (Part 2 of 4)
Top Comments
All Comments (20)
-
I can't compile this program...it says " multiple def of ''main' / first defined here / Id returned 1 exist status / [build error] [ "loops] Error1 " ...wtf is this?
-
"You are too high"
Doesn't sound wrong to me :P
-
It says "endl", and it ends a line and starts a new one.
-
is there some kind of loop until statement, so that it loops until answer is right
-
@SuperFeimer ahh ok... i get it ... tnx
-
@nealfelip007 std::endl forces a new line.
-
@thereturnofman295 yes, it is not necessary, but sometimes, its good to get into the habit of initializing your variables.
-
may i ask why you set j=0 when you could have just given it no value? for you to say that b = 0 and then say input a different value that is suppose to be equal to 'a' kind of confuses me
-
what is "end1" ??? i dont know what it is cause i am noob in c++
-
you are awesome dude, your helping me a lot !
just need to stick at it and soon ill be in uni :D
Hey, give the guy some credits for taking the time to make these videos at all. Hiding the window is an honest mistake, but it's better than no video at all by my book.
devilsaddendum 2 years ago 3
thx man. very useful
mostlyslick 2 years ago 3