Buckys C++ Programming Tutorials - 26 - Logical Operators

  Рет қаралды 355,054

thenewboston

thenewboston

Күн бұрын

Пікірлер
@garlicyum9147
@garlicyum9147 8 жыл бұрын
Best series on programming tutorials I've ever seen. Perfect humor to information ratio
@garlicyum9147
@garlicyum9147 8 жыл бұрын
Also I love that you spell every single word wrong lmao
@the_infinity_snake
@the_infinity_snake Жыл бұрын
To give you guys a bonus, you can have both && and || as many as you want in the round brackets. And NOTICE, the || is the "border" of the tests. The || separates the tests. The compiler is gonna go through each test, one by one to check them. One by one.
@Honorenji
@Honorenji 9 жыл бұрын
I just love that you have a bit of humour in your videos :) Your videos really help. Already had a lot of knowledge from c# but the syntax is a bit different, so it's not hard to keep up luckily.
@edgykid4226
@edgykid4226 8 жыл бұрын
Same but with java.
@ktm6060MC
@ktm6060MC 8 жыл бұрын
Edgy Kid #42 Same here, learning Java and C++, neat seeing some things from Java, makes it nice that the commands are simular
@swapnilagnihotri2235
@swapnilagnihotri2235 3 жыл бұрын
@@edgykid4226 same
@DavidNortonDRN1029
@DavidNortonDRN1029 9 жыл бұрын
My C++ instructor is garbage and has horrible examples. In less than 10 minutes, I understood this more than ever by simply watching this.
@zuesr3277
@zuesr3277 8 жыл бұрын
Yeah his examples are engaging
@RoxusRemo
@RoxusRemo 8 жыл бұрын
6 year old with 4 dollars trying to get into a night club.
@lastofthestars6481
@lastofthestars6481 7 жыл бұрын
MATT DOBING HAHAHAH
@ferus5583
@ferus5583 6 жыл бұрын
Matt Dobing xD
@soumithpotturi2090
@soumithpotturi2090 9 жыл бұрын
Make sure you write you with a 9 and in as ion or the program wont work. XD
@hwudiwkbwhsysiwkmwbsoslkwaauyy
@hwudiwkbwhsysiwkmwbsoslkwaauyy 10 жыл бұрын
Welcome to our night club, yo9ua re allowed ion.
@PS2Damon
@PS2Damon 9 жыл бұрын
SpongyBacon thnak yo9ua
@SKreapergaming
@SKreapergaming 9 жыл бұрын
+SpongyBacon 5-star
@phonekhantpaing8908
@phonekhantpaing8908 11 жыл бұрын
I swear he's just getting funnier and funnier in every tutorial
@NorthboundFox
@NorthboundFox 13 жыл бұрын
Bucky, you forgot to explain that Logical Operators follow order of operation, too. You can do If( (age>21 && money>500) || money > 500){ //code } This will only allow people if A) They are BOTH 21 and have $500 B) They just have $500 but aren't old enough. Knowing this is very important as it shortens LO statements in the same way that LO statements shorten nested if() statements. It's a code compacter for a code compacter :D
@amulbham6928
@amulbham6928 9 жыл бұрын
gottta say, your little bit of humor combined with your casual delivery are hilarious and help get me through .
@AlbanianGamer313
@AlbanianGamer313 8 жыл бұрын
The program is called Watermellon :D at 3:24
@RufusShinraPower
@RufusShinraPower 12 жыл бұрын
Thank you. I'm glad it was something short and not complicated.
@itishree4855
@itishree4855 7 жыл бұрын
Becky is the coolest c++ tutor on youtube for sure.
@decimalpoint1117
@decimalpoint1117 7 жыл бұрын
This guy is a natural. Forget the rules; don't impress; just express! That's how Bucky does it. Woooaaahhh!
@abdinasirahmed7150
@abdinasirahmed7150 4 жыл бұрын
can't stop watching your tutorials!
@garretmkiii
@garretmkiii 6 жыл бұрын
Bucky is an inspiration; he proves you can have but 10 thumbs still write code. Thanks for the tutorials, brother. "||" is a union; maybe "|" is a uniunion...
@2007excalibur2007
@2007excalibur2007 11 жыл бұрын
1:19 god fucking damnit lmao
@Braleven
@Braleven 11 жыл бұрын
I always laugh when he points that shit out.
@SilverMiraii
@SilverMiraii 7 жыл бұрын
You can also use parenthesis just like when you do math. For example: if(age > 21 || (money > 800 && age>15 )) so now we're gonna allow people over 21, or people over 15 with at least 800 dolla bills
@jacobfields3645
@jacobfields3645 6 жыл бұрын
Thank yo9ua!! I was coming here to ask this, now I guess i dont have to
@ScareTheater2
@ScareTheater2 10 жыл бұрын
If you just write "and" instead of "&&" it would still work the same, and if you wrote "or" instead of "||" it would still work the same. So what's the point of writing && instead of and? Does it make a difference?
@hwudiwkbwhsysiwkmwbsoslkwaauyy
@hwudiwkbwhsysiwkmwbsoslkwaauyy 10 жыл бұрын
Looks more complex, but provides no obvious benefits or downsides.
@mishoaleksidze7820
@mishoaleksidze7820 10 жыл бұрын
I'd better to use 'and' and 'or'. Why does anyone want to use these marks, when there's an existing of words?
@hwudiwkbwhsysiwkmwbsoslkwaauyy
@hwudiwkbwhsysiwkmwbsoslkwaauyy 10 жыл бұрын
Some One In C++, and and or work, however in some other coding languages (I think php and java don't use and/or), so for people like me who have always used || &&, it keeps code consistent and avoids confusion :P
@mishoaleksidze7820
@mishoaleksidze7820 10 жыл бұрын
'And', 'Or' perfactly work in Python
@hwudiwkbwhsysiwkmwbsoslkwaauyy
@hwudiwkbwhsysiwkmwbsoslkwaauyy 10 жыл бұрын
That's nice, use whatever you want.
@0tiii
@0tiii 6 жыл бұрын
i'm now at the point where it became a game of "pls dont correct that spelling mistake i love it"
@sergyu123456
@sergyu123456 13 жыл бұрын
The misspelling thing was so funny. I tell my classmates that too when they ask me if the program works if they change what's in quotes.
@3dUber
@3dUber 12 жыл бұрын
thank you soo much i've been looking for this for ever. I use to use visual basic. So i was looking up a "and statment"
@magnolia1112
@magnolia1112 4 жыл бұрын
Such an awesome explanation. Thank you.
@MrSaemichlaus
@MrSaemichlaus 11 жыл бұрын
For the OR confusion: "||" is used for condition testing, like "if (1==1 || 2==3)" returns "true". "|" is used for comparing numbers on the binary level by their bits, like "2 | 4" returns "6" because 0010 | 0100 -> 0110.
@MrSaemichlaus
@MrSaemichlaus 9 жыл бұрын
This is a while back, I think what I wanted to say is that you can "combine" bits with OR and use that to check for any set bits. Knew it, misexpressed it ...
@TusharSharmatushar13992
@TusharSharmatushar13992 8 жыл бұрын
this man is just awesome, too hysterical to be a computer programmer :P
@CheeseOfMasters
@CheeseOfMasters 7 жыл бұрын
this guy's giving me a lot of ideas for my future nightclub...
@psymaster330
@psymaster330 12 жыл бұрын
so glad i found these vids, now hopefully i can learn it fluently by the time i get to highschool! XD
@theseangle
@theseangle 4 жыл бұрын
7 years passed by now... How are your coding skills?
@dark-_-001-kys
@dark-_-001-kys 3 жыл бұрын
how is it going brother did you become programmer ????
@dark-_-001-kys
@dark-_-001-kys 3 жыл бұрын
@@theseangle what about you 1 year passed how much you progressed
@theseangle
@theseangle 3 жыл бұрын
@@dark-_-001-kys not much xD, coding was not required to much in this year
@psymaster330
@psymaster330 3 жыл бұрын
@@dark-_-001-kys Yes actually!!! I graduated with a bachelors in computer science last year, and am currently writing this while waiting to join a meeting with the rest of my team. Thanks for the nostalgia flashback!
@Qazqi
@Qazqi 12 жыл бұрын
You can. They are alternative tokens. There's also bitor, xor, compl, bitand, and_eq, or_eq, xor_eq, not, and not_eq. Because of older keyboards and C, there's also digraphs (look them up if you want to see them).
@sportshala1553
@sportshala1553 9 жыл бұрын
gajab h matlab maza aa gaya...tussi grate ho bhai.......robart bucky
@DowntownSusana
@DowntownSusana 9 жыл бұрын
Great explanation, thank you!
@abhistorm
@abhistorm 11 жыл бұрын
The point of this video is to let people know about "Logical operators" and hence the title.Too much knowledge is never too bad
@Luvu5evr
@Luvu5evr 12 жыл бұрын
With &&, if the first condition evaluates to false, no other statements are evaluated because the overall result will still be false. It only takes one condition being false to make the entire outcome false. With ||, if the first condition evaluates to true, no other statements are evaluated because the overall result will still be true. It only takes one condition being true to make the entire outcome true. With & and |, all conditions are evaluated, regardless of their result.
@sidforreal
@sidforreal 7 жыл бұрын
thank u very much...ur each nd every video helping a lot..
@exia78
@exia78 13 жыл бұрын
keep em coming bucky Thanks`
@sleepsleeper4466
@sleepsleeper4466 11 жыл бұрын
*2 People wanted to make Minecraft clones then found out how hard it was to make text show up and table flipped*
@sleepsleeper4466
@sleepsleeper4466 11 жыл бұрын
;_;
@sleepsleeper4466
@sleepsleeper4466 11 жыл бұрын
***** The 2 people that disliked the video the- Yah... just uh... nvm... don't hurt yourself
@danielschieren2793
@danielschieren2793 10 жыл бұрын
David James ^This i1.kym-cdn.com/photos/images/original/000/131/351/eb6.jpg
@sleepsleeper4466
@sleepsleeper4466 10 жыл бұрын
;--;
@sleepsleeper4466
@sleepsleeper4466 9 жыл бұрын
***** with any language, for you to make a viable procedural infinite voxel terrain with a biome system and tempature intergration indeed does take "much code" i supposs the term "much" would vary depending on how much the average person codes.. still, for a noobie especially in c++, it is somewhat of a hassle to do
@amulbham6928
@amulbham6928 9 жыл бұрын
also itd be easier to fully grasp how the programs/syntax were used if you inputed the variables cin>>x; instead of just giving the variables values to begin with. So a person can understand how a loop or if else statement is activated based on the input value.
@olivebates
@olivebates 13 жыл бұрын
So around what episode are we gonna be getting to the fun part and making an actual graphical game (not to rush)?
@Wingerlang
@Wingerlang 12 жыл бұрын
Clever side-notes like: Put the most likely positive test-outcome first, since it's waste to run more tests than usually needed! Should be way more common in even beginner-tutorials like this.
@rorygrice5758
@rorygrice5758 9 жыл бұрын
Are there operators for exclusive or (XOR), and how to parenthesis work with logical operators, If i have (something && something else) || (thing && other thing), would that work, or do i have to go into multiple lines of code when i want something that sophisticated?
@vfxcrew1322
@vfxcrew1322 7 ай бұрын
hi one doubt logical operator is not working in while loop ,i use "or" condition but its not working
@geoffxc3734
@geoffxc3734 9 жыл бұрын
"Say we're only 2 and we only have 4 dollars, probably from the tooth fairy. We're not going to be let into the club."
@mynameisspam193
@mynameisspam193 10 жыл бұрын
is there a logical operator for if neither is true then the program can run? I only ask because even though I am new, I can see that it might be helpful to run code only if something is not occurring elsewhere in the code. Might be a stupid question, haven't thought it out thoroughly honestly, I just want to know.
@KangarooLemonades
@KangarooLemonades 12 жыл бұрын
Quick note, the logic behind it was: if((this and this) or (this and this) or (this and this))
@clay5251343
@clay5251343 11 жыл бұрын
you sir have a new subscriber!!
@gyratingseacow595
@gyratingseacow595 10 жыл бұрын
Is there a video that explains how to use operator % I know there is supposed to be a question mark at the end there but I didn't want to confuse anyone. I have an assignment on this and cannot understand how to use this correctly. any advice or links to websites would be greatly appreciated!
@awesome24712
@awesome24712 10 жыл бұрын
What if I wanted to use && and || in the same statement? What would be their order of execution?
@bestraub98
@bestraub98 10 жыл бұрын
I think its usually from left to right (don't quote me on this), but I would just use braces
@prinzecesartonares9332
@prinzecesartonares9332 2 жыл бұрын
just a quick question, can return -1 be used in if-else statement ? if so how ? I have tried to do this but it will skip the nxt statement. Heres my code #include using namespace std; class example { public: string x= "this variable came from example"; double y; }; int main (){ example W; cout W.y; if(W.y>2){cout
@RespectFalseIcons
@RespectFalseIcons 7 жыл бұрын
is it ok to but the OR and the AND operator in the same IF statement?
@RufusShinraPower
@RufusShinraPower 12 жыл бұрын
I probably should have phrased that better. What I meant was what if say you had 3 variables. what would you type if any 2 variables had to be true, but any 1 could be false.
@MarijnKonings
@MarijnKonings 11 жыл бұрын
Becouse the functionality came originaly from AND and OR logic gates, wich are the base building blocks for alot of things including processors. Look it up on wikipedia if you're interested in it :P.
@olivebates
@olivebates 13 жыл бұрын
@olivebates Whoops, was a little to fast there ^^;
@makennedy524
@makennedy524 12 жыл бұрын
I learned to use "and" and "or" instead of those symbols, they are interchangable right? Is there a reason to use those over the text, it just seems like extra stuff you'd have to memorize.
@LoganMeyers03
@LoganMeyers03 4 жыл бұрын
If you look above your enter key and see... (Me with one of those keyboards where the enter key is upright): ...Backspace?
@DJLad16
@DJLad16 12 жыл бұрын
You can also use the actual word "or" instead of ||
@Possen93
@Possen93 12 жыл бұрын
the simple & compares the numbers (only integers and characters if im not mistaken) in a bitwise level. meaning that it compares every single one of their bits and then produces a result that ia not a boolean type and in many cases it isn't even 0 or 1. I think that is the difference :/
@cwelsh2010
@cwelsh2010 10 жыл бұрын
Really helpful thank you!
@crisag.2698
@crisag.2698 10 жыл бұрын
I am using Eclipse. I was wondering if anyone knows how I can get my programs to run in that black window that I *think* is called a shell? Mine at the moment are only running in the console in Eclipse itself.
@akshaybirajdar2882
@akshaybirajdar2882 10 жыл бұрын
In windows , consol is in Black color, while eclipse use its own consol.
@crisag.2698
@crisag.2698 10 жыл бұрын
Akshay Birajdar So there is no way to have the consol pop out in its own separate window?
@departmentofeducation7212
@departmentofeducation7212 10 жыл бұрын
If you want it to run the program in the BASH of your windows computer then you could find a way to use the gcc compiler from the console (which can be accessed through typing cmd in the home search menu) or just using a program that runs it from the bash directly like code::blocks. However, it really doesn't matter whether you're running it from either the bash or a program's own console as long as you have the environment setup on your computer and not on someplace like an online IDE.
@akkiheat
@akkiheat 9 жыл бұрын
Crisa Gazzola : Actually you can use Qt Creator , its much better than eclipse and (by choosing console application) you can get your program to run in black window ;)
@RufusShinraPower
@RufusShinraPower 12 жыл бұрын
in the part about the "or" operator, what would you type if any two variables could be true?
@Qazqi
@Qazqi 11 жыл бұрын
Bitwise XOR is ^, logical XOR is != (yes, it happens to be the exact same semantics), which also means XNOR is ==, and there's really no point to providing the others when we have !
@hellonicolerlearns8724
@hellonicolerlearns8724 4 жыл бұрын
"But what if you say this... I'm not the most professional nightclub owner." 😂😂
@stanleyliew1450
@stanleyliew1450 9 жыл бұрын
how to do this buckey? Write a program that asks a user to enter his/her marks. If the marks entered is >= 50 and
@coconutko6266
@coconutko6266 9 жыл бұрын
this is easy ...do you still need help ?
@wheresecretslie
@wheresecretslie Жыл бұрын
#include using namespace std; int main(){ int mark; cout > mark; if (mark >=50 && mark
@KingKilleer96
@KingKilleer96 8 жыл бұрын
in c++ u can use "and" insted of && and "or" insted of || :)
@AdamHBr
@AdamHBr 8 жыл бұрын
Yeah I was wondering about this seeing as how that's how it is in the majority of other languages.
@VintageLJ
@VintageLJ 8 жыл бұрын
I find using the && || versions improves readability of code.
@ZShadow4899
@ZShadow4899 12 жыл бұрын
Before I learned this I was just using whatever knowledge I had of it and figuring the other things out... and I noticed two things I was doing differently. First, I was using the & sign instead of && when running tests, like if(n!=0 & f!=0 & f!=5) and it worked fine... what is the difference between & and &&? Second, I found that , seemed to do exactly what || does... could someone explain the difference?
@bryanswaggbeast8194
@bryanswaggbeast8194 8 жыл бұрын
are they called straight slash? because they are next to the back slash i think.
@bryanswaggbeast8194
@bryanswaggbeast8194 8 жыл бұрын
+Bryan SWAGGBEAST maybe var seperator? or cbar hahahahhaha not really
@RoxusRemo
@RoxusRemo 8 жыл бұрын
+Bryan SWAGGBEAST They are called pipe usually.
@minhkhoitran4167
@minhkhoitran4167 6 жыл бұрын
love your work
@MrEpicSpace
@MrEpicSpace 10 жыл бұрын
You can also use the word "and" instead of the weird && also you can use "or"
@ozaybakrhan6833
@ozaybakrhan6833 10 жыл бұрын
no you cannot in c++.
@MrEpicSpace
@MrEpicSpace 10 жыл бұрын
really? because it works for me.
@ozaybakrhan6833
@ozaybakrhan6833 10 жыл бұрын
***** hım.maybe because i use microsoft Visual c++.
@YaboiKin
@YaboiKin 10 жыл бұрын
***** I tried it as well in VS 2013 and it didn't work. Strange that it works for you as you'd think it would fail on everybody's. You sure your code is not just failing to compile and so displaying previous code?
@cucxtract
@cucxtract 10 жыл бұрын
***** and, or works fine for me.. using code::blocks 13.12
@dhruvkhetrapal4279
@dhruvkhetrapal4279 9 жыл бұрын
Can we mix and and or both the operators in a single if statement.?
@yoferenuntar6481
@yoferenuntar6481 9 жыл бұрын
dhruv khetrapal of course the "and" operator will be executed first
@dhruvkhetrapal4279
@dhruvkhetrapal4279 9 жыл бұрын
Thanks :)
@olithepolo
@olithepolo 12 жыл бұрын
sorry but what did you write for gender ? (im french so sorry for my bad english) did you write like "string gender = female;" or "int gender == female" or something like that ?
@mrkingofgameplays
@mrkingofgameplays 12 жыл бұрын
Just one thing, you can just use and as &&, i once tried it and it worked so i guess it should work to use just type like if(age>21 and money>500){code}
@sanderclemetsen2112
@sanderclemetsen2112 5 жыл бұрын
does 'if(age>=21 && money > 500 || money = 1000)' work?
@caspeRedits
@caspeRedits 11 жыл бұрын
did you enter "yo9ua re allowed ion"? Because you must enter "yo9ua re allowed ion".
@istvanherpai3803
@istvanherpai3803 9 жыл бұрын
What if I want the program to run this code when only one of the conditions is true and the other one has to be false? (Both of them can neither be true or false at the same time.)
@coconutko6266
@coconutko6266 9 жыл бұрын
use or
@meikonishi
@meikonishi 8 жыл бұрын
+István Herpai if ( ! ( (a && b) || (!a && !b) ) )
@meikonishi
@meikonishi 8 жыл бұрын
+István Herpai or, if ( (a && !b) || (!a && b) )
@MarijnKonings
@MarijnKonings 11 жыл бұрын
For longer decimal numbers you use double instead of float, but for higher numbers then unsigned int's? I have no idea... Unsigned intergers go from 0 to 4294967295
@RagePeanut
@RagePeanut 8 жыл бұрын
I was wondering how to do the XOR operator (exclusive OR, which means if only one of them is true) and I found out it is != if anyone is interested in knowing that ! ;)
@richterp.mayandoc2669
@richterp.mayandoc2669 2 жыл бұрын
can you explain why didn't you used return 0; ?
@ItsZ-0001
@ItsZ-0001 6 жыл бұрын
Hey Bucky ! Please make a series of tutorial about Visual basic C++ windows form !
@doCtOrHx
@doCtOrHx 12 жыл бұрын
so this is where the smart kids spend their time.
@masalahberat
@masalahberat 9 жыл бұрын
i spelled it you. and my program crashed. :(
@lastofthestars6481
@lastofthestars6481 7 жыл бұрын
hey what are you doing now days, how much far you are in your programing journey :))
@priyanksisodia
@priyanksisodia 4 жыл бұрын
@@lastofthestars6481 +1
@evanmastermind
@evanmastermind 10 жыл бұрын
| = vertical bar in ASCII encoding.
@easygaming7934
@easygaming7934 9 жыл бұрын
Hi +thenewboston, im wondering why wouldn't you just use a , instead of &&??
@easygaming7934
@easygaming7934 9 жыл бұрын
+Peterolen Ah ok, thanks for the answer mate :)
@SergeantBalthazar
@SergeantBalthazar 12 жыл бұрын
What's funny is that | is actually called a pipe.
@ciyvi9
@ciyvi9 11 жыл бұрын
how to do when you compare 3 things and you want to be at least 2 true???
@dibbiepk
@dibbiepk 11 жыл бұрын
I dont think this ones related to the video, but the operator for "And" is "||" So in an if statement: int age = 10; if (age == 10 || age < 25){ cout
@dibbiepk
@dibbiepk 11 жыл бұрын
Dibbie Knight Opps, sorry: "And" is "&&" and "Or" is "||", Im use to coding in Java, and || also means And... Though my test worked for both being true with || so I guess it could be used either way.
@RedCrusaderGames
@RedCrusaderGames 11 жыл бұрын
Dibbie Knight in Java || does not mean "And"! I've programmed in Java for quite a while now and it means "Or" and && is "And"
@abubakirabdulkadir7340
@abubakirabdulkadir7340 2 жыл бұрын
essentail to every student
@dibbiepk
@dibbiepk 11 жыл бұрын
Completely out of context of this video, so if theres any advanced coders (tho I assume its simple), int/float/etc only go up to 10 digits, before u get a error, how would u extend that to lets say 100 digits? Like if you have a money system in ur game that goes up to like trillions, thats 12 0's, so the user would never be able to make that if ur moneys managed with a default 10-digit limit int, right?
@ivandrofly
@ivandrofly 11 жыл бұрын
The insert key make the arrow going down
@farazhusain925
@farazhusain925 5 жыл бұрын
can we use && and || in combination...
@MrDragonshear
@MrDragonshear 12 жыл бұрын
If I use && and || will it open a black hole to another dimension?
@TensinghJoshua
@TensinghJoshua 12 жыл бұрын
This compares integers. But how do we compare words? Like, balloon || doll ? I tried it with string but I couldn't get it.
@wheresecretslie
@wheresecretslie Жыл бұрын
#include using namespace std; int main(){ string word; cout > word; if (word == "balloon" || word == "doll"){ cout
@Telseilong
@Telseilong 13 жыл бұрын
there called the pipe symbol, knowing is half the battle.
@phonekhantpaing8908
@phonekhantpaing8908 11 жыл бұрын
How many values can be used in an equation at one time?
@southparkclips221
@southparkclips221 4 жыл бұрын
Hello, I think you forgot the third logical operator which is the "not" or "!" Symbol
@ankitpaul9446
@ankitpaul9446 9 жыл бұрын
Why we just can't use & instead of && as the former one works fine here???
@jintarokensei3308
@jintarokensei3308 9 жыл бұрын
+Ankit Paul Logicals deal with statements. Bitwise deals with data. Bitwise can work for statements, logical can't really work for data.
@HrCobra9
@HrCobra9 8 жыл бұрын
Can you use "or" instead of || and an "and" instead of && works fine for me
@Masot111
@Masot111 10 жыл бұрын
I was making my code and i had a problem with the logical operators. i had this: int x; if (x=="yes") ... and it worked. But when i tried adding more options I think it was doing things in an order i didn't wanted. And the result wan't succesfull. if (x=="yes" || "Yes" || "YES") ... I tried using brackets to change the order, but an error went out. if (x==("yes" || "Yes" || "YES")) ... Can anyone help me solve my problem please.
@13Shafiq666
@13Shafiq666 9 жыл бұрын
+Masot111 you need to set variable x with a string not an interger. simply by put in the header #include and string x;
@lifetycoon101
@lifetycoon101 13 жыл бұрын
it works with correct spellings also! why does bucky say otherwise??
@TheDarksiderrr
@TheDarksiderrr 12 жыл бұрын
5:15 made my day ;D
@Jack-4242
@Jack-4242 13 жыл бұрын
you should do >=21 because people that are 21 are adults so they are allowed to go in with your script you have to be at least 22 years old
@fullthrottle254
@fullthrottle254 8 жыл бұрын
can you have for ( test || test || test && test) ?
@thavrisco1632
@thavrisco1632 8 жыл бұрын
Try it
@m14k15ts29
@m14k15ts29 11 жыл бұрын
The or logical operator can be found over the tab button on the left of your keyboard if you're using a European keyboard.
@transformersloverjon
@transformersloverjon 13 жыл бұрын
At first I actually thought we needed to spell it ion
@raheel1680
@raheel1680 13 жыл бұрын
i want a code in c++ which can give serial number of ram and hard disk in windows os.. can any one help me in this regard?
Buckys C++ Programming Tutorials - 27 - Random Number Generator
9:53
you will never ask about pointers again after watching this video
8:03
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
Learn C++ With Me #7 - Logical Operators (And, Or and Not)
12:25
Tech With Tim
Рет қаралды 22 М.
Buckys C++ Programming Tutorials - 9 - Functions
9:04
thenewboston
Рет қаралды 1,2 МЛН
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 138 М.
C++ Logical and Comparison Operators | CPP Video Tutorial
13:18
LearningLad
Рет қаралды 133 М.
My 2 Year Journey of Learning C, in 9 minutes
8:42
VoxelRifts
Рет қаралды 677 М.
Buckys C++ Programming Tutorials - 46 - Composition
8:37
thenewboston
Рет қаралды 369 М.
C++ Programming Tutorial 34 - Logical and Comparison Operators
10:52
Buckys C++ Programming Tutorials - 47 - Composition Part 2
9:07
thenewboston
Рет қаралды 277 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН