@crazygranade98 thx for helping me, but i've given up on C++ for the moment. I'm going to college now and i'm currently learning Java.. But, thx anyway :)
Thank you for being an awesome teacher! I learned more in 5 minutes than I do in a week in my programming class. I love you man! My instructor sucks but you've saved my arse. Thanks for your tutorials. :)
helo thenewboston.. i really appreciate your tutorial its very informative. i had a hard time with my c++ programming subject, but when i see your tutorial you teach better than my instructor.. nice knowing you my name is genesis.. your great i hope you will response to me soon.... thank you so much i will look forward for more tutorials from you..
helo thenewboston.. i really appreciate your tutorial its very informative. i had a hard time with my c++ programming subject, but when i see your tutorial you teach better than my instructor.. nice knowing you my name is genesis.. your great i hope you will response to me soon.... thank you so much i will look forward for more tutorials from you..
helo thenewboston.. i really appreciate your tutorial its very informative. i had a hard time with my c++ programming subject, but when i see your tutorial you teach better than my instructor.. nice knowing you my name is genesis.. your great i hope you will response to me soon.... thank you so much i will look forward for more tutorials from you..
Dude you are an amazing teacher , i have always been interested in computers and i have been following your tutorials for only 2 days and ive got this down and memorized by heart , the best part is im getting a head start cus im only in 8th grade , i dont plan on being a game designer or somthing stupid like that but i do plan on learning this into as much depth asipossibly can so when i take this course i will glide through it. Thanks bro.
I understand how the if else statement works, and I wrote the exact same code as you, but when i enter the right answer the console window shuts down, in stead of displaying the( 'you're right' message) and waiting till I close the window.. Can anybody explain why plz?..
Ive herd this isn't the greatest way to do it but that you should use
cin.get()
i use it but everyonce inawhile cin.get doesn't work but system pause always does but that may b the problem im no expert but hey thought I would try to help :)
i followed all instructions bit somehow i'm getting an error at 'else' "',' or ';' expected before 'else'" .... i checked it multiple times, but i cant figure it out... can anyone help??
@EveryBodyWasKungFuFi I know this is a very late response but you might have put a semicolon after the if statement . That's how I got the same exact error as you did
Im trying to make some math thing...like ...(Sry for my bad english)..well..anyways
it asks you an X-axis, and Y-axis... then it checks that, does they 'match' in a straight .. xDD.. but it will always match, i need a third one...well..send me a pm if u know how to do this..
@jrmovies1234321 Also if its just 1 equal, the program won't go past the if statement, it will assign answer to 21 and stop, but if you do == or is equal to, it will go further cause its comparison
You also could have used a string and had a better question like, "is the person reading this comment an idiot" and then you could make it so the correct answer is yes and everything else is just wrong :D
YOu are the most AWESOMEST DUDE on youtube, better than that Urban Ninja guy and you do programming instead of back flips!!!! You just summarised something that took my lecturer 2 fricken hours to explain to me and the class!!! you are the best!
Really great tutorials, you are clear and concise in your instructions as well as showing it smoothly in the video. Great work, its awesome to see people giving knowledge away to help others.
how can i make a true and false if i put t it wont let me only numbers
slipknot11290 1 month ago
OMG!! Tutorial number 18!! I never reached number 4 on other dudes...U DA MAN DAWG!!
KukiKruch 1 month ago
=3
Redukas123 2 months ago
Great tutorials. Thank you so much!!!
hyudeng 5 months ago
I allready knew this from your java tutorials :)
MartysAdventure 5 months ago 11
You are awesome!! Your tutorials are now my new study buddy, very clear and decisive when explaining the steps. THANKS
YAYAW90 5 months ago
Press 8, hear F
Yikak4 5 months ago
thank you so much XD
magicplayingcards 6 months ago
very big thank
LighthouseKrew 6 months ago
Thank you.
SRT4847 6 months ago
THANK YOU!
Garfield0128 7 months ago
Thank you so much! You saved me from over 5 errors of "illegal if without matching else"'s!
randomwindowsstuffz 7 months ago
Thank you for your detailed tutorials.
apongaa 8 months ago
PLEASE can someone help?
I have 2 variables and to make the variables I have to peices of code saying:
cin >> num1;
cin >> num2;
"cin >> num2;" is under an "if" statement and it uses num1 as the variable and still runs even if the "if" statement is false.
ilovehpwands 8 months ago
@ilovehpwands make an else statement that has nothing in it.
if (num2 == //what you want here)
{
//whatever you want here
}
else{
}
Kulopto 8 months ago
What is Bucky short for??
tashage 9 months ago
can you have more than 2 "else" options?
Iceblade157 9 months ago
@Iceblade157 watch the next part... that will answer your question :)
tashage 9 months ago
@Iceblade157 It works in java. So I assum so.
Kulopto 8 months ago
@Iceblade157 Yup, easier to use switch though
VictoriusDawn 8 months ago
@BadMi5tak3s -_- Are you even a programmer?
Tacomaster21 10 months ago
Thank you.
I had trouble displaying the answer of the one playing my quiz.
I knew I had to declare a variable to the answer but just didn't know how. Now I know though, thanks once again.
XxPouringRedRainxX 10 months ago
what if i want a text to be an answer?
TheDimi11 10 months ago
Thanks to Bucky, C++ is addictive!
TopNotch614 11 months ago
Is there a way I can do an if else statement with words instead of numbers?
kilburn79 1 year ago
This is really similar to python... i loved those tutorials also!
xtremegamer4696 1 year ago
Nice, THANKS :=)
LydiaKwano 1 year ago
This has been flagged as spam show
if (ThumbsUpRating > 156) { cout << "Bucky is fucking awesome" << endl; } else { "Fuck You whey didn't you rate?" << endl; }
GigglingGirI 1 year ago
This has been flagged as spam show
#
if (ThumbsUpRating > 156) { cout << "Bucky is fucking awesome" <<endl; } else { "Fuck You whey didn't you rate?" << endl; }
GigglingGirI 54 seconds ago
GigglingGirI 54 seconds ago
GigglingGirI 1 year ago
This has been flagged as spam show
if (ThumbsUpRating > 156) { cout << "Bucky is fucking awesome" << endl; } else { "Fuck You whey didn't you rate?" << endl; }
GigglingGirI 1 year ago
Comment removed
GigglingGirI 1 year ago
"How old is Bucky? uuuhhhhh, 45? You're wrong" :') I like your tuts, ur awesome :D
SSander1007 1 year ago
@crazygranade98 thx for helping me, but i've given up on C++ for the moment. I'm going to college now and i'm currently learning Java.. But, thx anyway :)
quiqiflip 1 year ago
ok i got a script to update, but im not sure whats "->" for, i never seen it. what is it
dranoel1963 1 year ago
are u god ?
yandykun 1 year ago
Dear Bucky,
Thank you for being an awesome teacher! I learned more in 5 minutes than I do in a week in my programming class. I love you man! My instructor sucks but you've saved my arse. Thanks for your tutorials. :)
-Ren
simba012shadow0 1 year ago
the best programmer of the world...I love your videos man...!!!
Chuckmetal2 1 year ago
This has been flagged as spam show
helo thenewboston.. i really appreciate your tutorial its very informative. i had a hard time with my c++ programming subject, but when i see your tutorial you teach better than my instructor.. nice knowing you my name is genesis.. your great i hope you will response to me soon.... thank you so much i will look forward for more tutorials from you..
gen2221 1 year ago
helo thenewboston.. i really appreciate your tutorial its very informative. i had a hard time with my c++ programming subject, but when i see your tutorial you teach better than my instructor.. nice knowing you my name is genesis.. your great i hope you will response to me soon.... thank you so much i will look forward for more tutorials from you..
gen2221 1 year ago
helo thenewboston.. i really appreciate your tutorial its very informative. i had a hard time with my c++ programming subject, but when i see your tutorial you teach better than my instructor.. nice knowing you my name is genesis.. your great i hope you will response to me soon.... thank you so much i will look forward for more tutorials from you..
gen2221 1 year ago
isnt greg 21? ;)
mikehussey11111 1 year ago
AWEEEEEEEEEEEEESSSSSSSSSSOOOOOOOOOOOMMMMMMMMMEEEEEEEE
MrMobinga 1 year ago
HELP !! .. Can we assign more than 1 value in "IF condition" like "if (x == 1,2)" or
"if (x == 1 or 2)" ...??? I know both the above 2 types is wrong , If it is possible help me how to do it ..
awfultalha 1 year ago
@awfultalha Yes it is possible use the || operator it is the C++ OR operator, so you if statement may look like this.
"if (x == 2 || x==3)"
ZipArray 1 year ago
@ZipArray Thank you :) .. Can you also chk this problem please
w,w,w,.youtube.com/watch?v=g3tXRQvHekg
awfultalha 1 year ago
Dude you are an amazing teacher , i have always been interested in computers and i have been following your tutorials for only 2 days and ive got this down and memorized by heart , the best part is im getting a head start cus im only in 8th grade , i dont plan on being a game designer or somthing stupid like that but i do plan on learning this into as much depth asipossibly can so when i take this course i will glide through it. Thanks bro.
RamRod27Official 1 year ago
just did mine thank to u an 100 test question about sport and politics it wasnt easy
alexcrazy619 1 year ago
Don't you need to initialize the variable answer.. like go answer = 0???
Morelloo1 1 year ago
what if i want it to say the age of a person.. for example
enter a name bob
he is 21
time4blue 1 year ago
you should continue C++ tutorials :D
draining12 1 year ago
I understand how the if else statement works, and I wrote the exact same code as you, but when i enter the right answer the console window shuts down, in stead of displaying the( 'you're right' message) and waiting till I close the window.. Can anybody explain why plz?..
quiqiflip 1 year ago
@quiqiflip send me the entire code please and i will tell you whats wrong with it :)
draining12 1 year ago
@quiqiflip probably cause you didn't use
system ("pause")
return 0;
Ive herd this isn't the greatest way to do it but that you should use
cin.get()
i use it but everyonce inawhile cin.get doesn't work but system pause always does but that may b the problem im no expert but hey thought I would try to help :)
crazygranade98 1 year ago
Thanx Bucky.... :)
arjunchauhan24 1 year ago
HAHA I FINALLY FIGURED OUT MY PROBLEM WITH ENDL
i wasnt puting a space after th "<<"
ztsb45 1 year ago
does any knw how to use a pointer in a class
codsaner 1 year ago
i followed all instructions bit somehow i'm getting an error at 'else' "',' or ';' expected before 'else'" .... i checked it multiple times, but i cant figure it out... can anyone help??
EveryBodyWasKungFuFi 1 year ago
@EveryBodyWasKungFuFi I know this is a very late response but you might have put a semicolon after the if statement . That's how I got the same exact error as you did
blackyurizan 1 year ago
you make this seem so simple in your explanations. it takes other ppl two videos to say what you did in 5. WELL DONE AND THANK YOU
thereturnofman295 1 year ago
5 idiots have watched this video..
tHaH4x0r 1 year ago
THe best MAN !!!!! your awesome keep it up !!
deceit1991 1 year ago
anyone know how to make the program keep going if you get it wrong? You know so you can keep guessing.
MrBrightSide622 1 year ago
Im trying to make some math thing...like ...(Sry for my bad english)..well..anyways
it asks you an X-axis, and Y-axis... then it checks that, does they 'match' in a straight .. xDD.. but it will always match, i need a third one...well..send me a pm if u know how to do this..
CartmanTheTrikz0r 1 year ago
you are waaaaayyy better than a college professor
awsomguitarman 1 year ago
you really are best i cuold not explain this for my dad that is working with computers
in 1 hour!!! i love theese tutorials don't stop making this!!!!!!!!!!!!!!!!!!!!!
swemovimaker 1 year ago
can any body write the website of this man..?
hamadrehman 1 year ago
v use(==)for comparison otherwise v can use single =......
hamadrehman 1 year ago
@hamadrehman Always use the == operand for conditions, always use the = operator for assignment
FOOFlGHTERS 1 year ago
so much typo's on youre website XD
RUBENKNEX 2 years ago
So many *
BufferOverflowAttack 2 years ago
!= means NOT equal to
quickdeath47 2 years ago
is == the same as != in a if statement?
MeneerJK 2 years ago
@MeneerJK When you use the ! operand in C++, it negates truth. For example.
if (!ttrue)
{ // this will not be executed
}
that basically like saying
if (not true = true)
0121ryanh117 2 years ago
@MeneerJK no, == is equality, != is inequality
EmuAddict 2 years ago
== means equal to
!= means not equal to
jrmovies1234321 1 year ago 5
@jrmovies1234321 Also if its just 1 equal, the program won't go past the if statement, it will assign answer to 21 and stop, but if you do == or is equal to, it will go further cause its comparison
Gredran 2 months ago
@jrmovies1234321 correnction == means is it true != means if its not ;)
ItsClooudy 1 month ago
good
belij82 2 years ago
You are the best teacher ever!
doughboy20088 2 years ago 3
You also could have used a string and had a better question like, "is the person reading this comment an idiot" and then you could make it so the correct answer is yes and everything else is just wrong :D
TheReasonWhyGuy 2 years ago
lols
kkacper9 2 years ago
this helps a lot thank you very much
DhDo74 2 years ago 3
Lol, I already figured this out myself in the tutorial before, making a math check (does 2+2=4?)
But i hadn't thought of a minigame of guess the number. So I made one :D
GreenSwordsman45 2 years ago
thx for the tutorials really helped
Lxkpure 2 years ago 2
lol on ur website it says:
hey im wokring on this site
wokring lol
WrestlingFanUploader 2 years ago
YOu are the most AWESOMEST DUDE on youtube, better than that Urban Ninja guy and you do programming instead of back flips!!!! You just summarised something that took my lecturer 2 fricken hours to explain to me and the class!!! you are the best!
poingsdefureur 2 years ago 71
what ?
TheRealAuxiliary 1 year ago
website is down?
Wowccraft 2 years ago
Awesome vids, thanks man!
brdarnell 2 years ago 2
bucky my bro is 16 & I am 28, thank you for teaching us both.
techfixer16888 2 years ago 3
"oops, that's embarassing" XD lol thks for the vids :D
tero3 2 years ago
Really great tutorials, you are clear and concise in your instructions as well as showing it smoothly in the video. Great work, its awesome to see people giving knowledge away to help others.
mrpsychology1 3 years ago 37
I love how you personify c/the compiler lol!!!
ChangAwnthuwey 3 years ago
bool iloveyou=true;
bool ireallyloveyou=true;
if(iloveyou){
cout<<"i love you";
} else if(ireallyloveyou){
cout<<"<3";
}
bigfaggykitty 3 years ago 3
that would output:
<3press any key to continue...
friedchicken1981 3 years ago 3
theres not necesarilly a: system ("PAUSE");
they might have used:
cin.ignore();
cin.get();
return 0:
battousaifader 3 years ago
thank you for keeping doing this!! ill be waiting for more!! :)
friedchicken1981 3 years ago