Added: 3 years ago
From: thenewboston
Views: 41,254
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (145)

Sign In or Sign Up now to post a comment!
  • Yes I do!

  • "Bean sausage" haha my question was do you like melons ? :D

  • i find this eaier then java =D

  • basically, if you learned 1 programming language, other languages must be easy to understand.

  • Word out to everyone. make sure you use single quotes for char's. I made that mistake at first.

  • bean sausage? wut? lol

  • @TheCrazeBlazer actually it's only 9 tutorials and 1.7977 * 10^308 hours of practicing before becoming a pro.

  • Note that you have to use single quotations for some reason when comparing the char variables...

  • Comment removed

  • this was was hilarious too much bucky lol

  • I love this I made a puzzle game for shooting animals!!!

  • THANK YOU FOR MAKING THESE FUNNY! i cant watch those bland tutorials!

  • someone tell me if im correct or not?

    this will only work with y and n, as char is only for single charaters. so if i wanted the user to enter yes or no, what data type would i give the veriable?

  • @mottyg123 If you want the user to enter words like "yes or "no" instead of using "char" you would use "string" since words in c++ are known as strings and letters are known as characters and numbers as integers, etc..

  • @ultimateavenger thanks for your help :)

  • @ultimateavenger thank you

  • fanny about Montana))))))

  • it work with the first letter of anythin so if i put "no whats wrong with u" it works

  • @eddrocks2 lol

  • only 9 tutorials to go...this is my second program language...

  • I though I was supposed to delete cookies, not eat them :\. Anyway nice tutorial :).

  • Hanna Montana is really hot.

  • I told his mother, she spanked his ass.

  • hey bucky, I am a recent viewer of yours for c/c++ programming and I realized in this code you could have done a do while loop until the idiot lol gets it right

  • I get this error message with this:

    error: 'else' without a previous 'if'

  • >using entire namespace

    >including an unused header file

    >using a system call

    Done...

  • Comment removed

  • And that's how you become a Perv Programmer lol

  • I also learned that the first president was George Washington.

  • oh thanks alot!

  • Comment removed

  • 0:17 is that an order??

  • No... Hannah Montana isn't hot...

  • @samthemaz It makes an exe when it is compiled.

  • @samthemaz

    let me know if you find out

  • I though he said Grilled Cheesus.. #gleek :P

  • OR she could give you a slap, and tell you to piss off?

  • LOL you really didn't want to answer 'y'.

  • BEAN SAUSAGE HAHAHAHAHAHAHAAHHAHA

  • Just yeat a nother great video from The New Boston.

    Keep it up Bro we are all greatfull. :D

  • can anyone tell me whats wrong with this line? if ( answer == 'y' || answer 'Y')

  • @sirspawnalot you forgot to put == between answer and 'Y'

  • @LeetGamer4L Right, that's why he put "you fn perv"

  • Its spelled "you", not "u"....

  • @LeetGamer4L Stop being technical smartass, he can spell however he wants

  • @mcvdigital Definition of spell: "Write or name the letters that form a word in correct sequence" notice the "correct sequence" at the end?

  • @LeetGamer4L Grow the fuck up. ever heard of texing? No friends huh? of course. And who gives a fuck

    if he spelled YOU like U! ITS NOT A FUCKING BIG DEAL! It doesnt matter same shit! Fkin idiot.

  • @mcvdigital roflmao

  • @LeetGamer4L Definition of troll: In Internet slang, a troll is someone who posts inflammatory, extraneous, or off-topic messages in an online community, such as an online discussion forum, chat room, or blog, with the primary intent of provoking readers into an emotional response or of otherwise disrupting normal on-topic discussion. Well I think we're done here.

  • mmmmmm grilled cheese

  • "|" is called a "pipe"

  • @ajmilazzo i though it was vertical line

  • I'm taking c++ now. I have two test left with, but I do find these videos helpful and easy to understand. Thanks for posting. However i'm taking visual basic next semester, and it would be great to see videos for that especially GUI's.

  • if answer is no:

    cout << "you fn gay" << endl;

  • Please donate to Buckys christmas present 2010. See the general forum on his website for details, thanks :)

  • Darn it. I've watched 20 in a row. Now it's 1:30am and I'm running out of bandwidth. I just love these videos. They make so much sense. :)

  • Nothing like bashing at Hannah to make one remember about codes. xD

    Anyway, nice tutorial. Worked as the perfect review for my exam tomorrow. :D

  • good job on making 20 videos which in total show what you could fit into 1 video.

    BTW: I want Cookies && Grilled Cheese.

  • For the problem other text being accepted you have to use a string as char can only hold 1 letter.

    To fix this,

    in your head, use:

    (hash)include (lesser than sign)string (greater than sign)

    then in your example just change the char to string and the single quotations to double quotations.

  • oh why are people braggining about their ages...big woop your learning how to write computer programs...big woop...seriously shouldent u be out partying and getting laid :P instead of wasting ur teen years doing this :S

  • @lanick3 Wasting your teen years? If you had not realised this is a hobby and if you learn this now then you will be better when you grow up. Think, most basket ball players started basket ball when they were kids and now they are pros. Same thing with programming.

  • Comment removed

  • please any one tell me if im the youngest studing c++

    i just turned 14 and im a ameture pro at GML and now learing c++

    so any one out there..are you 14 or younger?

  • @lLxJLxJl

    I know I guy who was about 12 when he was programming very visual and interactive c++ programs.

    That shouldn't matter.

    Lots of people your age use Game Maker.

    Good luck though,

    -Benjamin

  • @lLxJLxJl im 13 :P

  • @lLxJLxJl I'm 15 now, but I started with batch at 11, and java at 13.

  • @lLxJLxJl

    i'm 14, and learning it pretty well ;)

  • @lLxJLxJl yup, 13 here, 2 days till 14 lol

  • @lLxJLxJl NAW IM 13 I WIN(RAR)

  • @chickenpotato12345 LOL we're such nerds we use WIN(rar) lolz well nice to no..

  • Does anybody know a good c++ program to use for c++?

  • @shrci2 microsoft has visual studio c++ express if you are on windows

  • @ValosTaonas The reason is because he's storing the user's answer as a 'char' variable, which can only be a single character or simple integer. There is a more technical explanation, but this should do. If you want to modify your program to accept a "Yes" answer, try using 'string' data type. NOTE: You will have to include the string header file in your program for this to run.

  • What I mean is that for some reason, when I put 'yes' as an option, it doesn't work if the user types that as the answer. I bet he'll address that in those later tutorials.

  • I've been watching these videos and I've been wondering: "When's he going to show us how to use 'char'?"  Yay! Now I || we know (hehe)!

    @ElPeester No, it can handle more than one character response. It would seem obvious that if you wrote 'Yes' instead of 'y' it'll take that instead, but thats just me.

  • Why can it only handle one character responses? laaame.

  • Reading the from a website made me want to hang myself, Watching this makes me want to code! :D Thats good right? O.o

  • Thank you for your tutorial!

    I just have a problem: I can't find the "|" on my keyboard (I am Swiss, probably it doesn't exist on this keyboard)!?

  • @ThinkGoulash try over the tab key, that's where my | is

  • @ThinkGoulash - Its below the backspace, above the enter, left of delete, right of this thing " ] " . If u find it press shift, then press that button

  • How comes that my Dev-Cpp tells me that ISO C++ forbids comparison between pointer and integer?

    What the heck is going on?

  • @hMIKESCHj , Most likely you are doing

    if (answer == "Y" || answer == "y") // quotations marks are wrong

    instead of

    if (answer == 'Y' || answer == 'y') // single quotes are right

  • lol i love the cookies and grilled cheese thing

  • to loop it put

    do{

    [INSERT CODE HERE]

    } while(answer != "end")

  • cookies OR grilled cheese?

    quite different...

  • how come if I do this code my borland compiler says Lvalua required in function main ( )?

  • how can you make it so it does a loop like the last tuatorial

  • put the code(all of it) in:

    while(1){

    //code

    }

  • c++ is hard but all your tuts help so much o.o

  • how come

    do {} while (answer != 'n' || answer != 'N' || answer != 'y' || answer != 'Y');

    does not work, but

    do {} while (answer < 'n' || answer < 'N' || answer < 'y' || answer < 'Y');

    does

    i would of thought it would of made sense to use not equal too 'y' or 'n' - I am keeping the program in a loop by the way so if the user enters anything other than y or n it waits until the right input is entered

    wicked tutorials btw, ive learned alot over the last 4 hours!

  • loooool nice

  • my compiler just called me a perv when i tried this code, wtf!?!

  • haha, bean sousage!

  • lol? whats with the random act of... jealousy?

    y do u go make a negative vid towards some new star <_<

  • lol hannah montana

  • Lmao You Fn Perv...I hope my mom dont see this. :d

  • you can also use the logical bitwise operator |.

    eg

    unsigned int result;

    result = 10 | 15;

    DO a search for bitwise operators

  • lol woops acidently made that go in html, sum glitch with google chrome or sumtin i did =O

  • @crazynoob11

    Very mature.

  • hannah is a little young for u bucky

  • this is actually very similar to javascript lol

  • That's what I first thought, but the "#include" is "import" in java... as well as how the main function is called...

  • XS she's only a kid XS you perv hahaha just playing ... keep making good vids.

  • yes she is,

    do

    {

    cout <<"hannah is sexy"

    }

    while (montana=hot);

    lol

  • OMG red your program so represents the real life situation with Hannah Montana.

    while(montana=hot) will always be true because you keep assigning hot to her, = is the assignment operator and == is the equality operator. In the same way Montana will always be hot because people keep assigning hot to her, until someone inserts a "break;" statement into the endless loop Hannah Montana will always be Hot.

  • she*

  • Comment removed

  • @DhDo74 he's 21... have you not seen the other vids

  • @CrazyProgtapper2150 Lol I have no idea why I wrote this 9 months ago, Ive known hes around that age!

  • @DhDo74 hes not 15 wtf.....

  • @DhDo74 hes like 20 x_x

  • @TheRealAuxiliary Lol it was a dumb joke

  • @DhDo74 22, but oh well.

  • @DhDo74  he is 21

  • @god4506 UGHHHH!!! I KNOW!! I was just kidding 11 months ago, I don't even know why I said that!

  • @DhDo74 um he's like 21

  • @TheGOffice SON OF A BITCH, I KNOW I WAS KIDDING.

  • @DhDo74 He said he was 22 in one and 23 in another. :)

  • @DhDo74 um i think hes 21

  • lol now i want cookies and a grilled cheese :)

  • @swordman215 i want bean sausage =B!

  • @swordman215 you would use a string to input more than one letter and you would created an if else statement using the and operator which is &&

  • hannah is hot but her mucis sucks

    i love ac/dc iron maiden disturbed!!!

  • she's ugly as hell

  • do you think hannah montana is hot

    i think she is......

  • screw hannah, i go for finger eleven, muse, arch enemy, system of a down, and ACDC.

  • Seriously I wish I found your tutorials before I started my introduction to programming class. In three days I have my final exam and only now because of your tutorials am I actually beginning to understand these concepts.

  • Five months and I vote for a new tutorial.

    You're the person who explains it best so far. But maybe I can make it on my own with what you've taught me. Thank you for the 20 tutorials you made and put your dedication into laments terms so everyone can understand.

  • funny guy, who needs a therapist when c++ will tell you if you are fine or not, jason please don't tell them my results...

  • super :)

  • Im making an a math program and i want to know whats wrong with this!

    if (inde == 'add' || inde == 'Add' || inde == 'aDd' || inde == 'ADd' || idne == 'ADD' || inde == 'aDD')

    inde is a char varible for the answer to the question on the front page.

  • Use string, not char.

  • Use string add;

  • bucky is one square fella but im sure these are helpful to beginners ha. make some intermediate tuts next please

  • I like these, but prefer regular C (ansi C) Could you do an entire series on this in the future. Would really appreciate!!!!!!!!!!

  • that's basically C. C++ is C with classes and other new stuff

  • Thanks man! This really helped me. Nice tutorial.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more