Added: 3 years ago
From: antiRTFM
Views: 17,147
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (37)

Sign In or Sign Up now to post a comment!
  • If I use the same name for the variable in a constructor as the member variable in that class, will there be a problem? I have it like this, and is it okay?

    enemy::enemy(int health,int attack,int magic): health(health), attack(attack), magic(magic){}

  • antiRTFM - dude you fukin ROCK, bro! Great tutorials and I love how they're free. Knowledge should only cost your time and not your money. World needs more people like you, antiRTFM.

  • @element1988 some people just don't know how to read lol

  • Nice tutorial

  • I have one question. Do these tutorials ever get into other templates besides the one we have been working with?

  • I wrote a whole console game without knowing about the constructor. It could have made everything easier. :D

  • need to start doing form apps

  • amazing five stars!!!

  • You're teaching me so much INSANE xD xD i'm beginning to see how games actually work! basically every item in a game is just a class :O :O .... Though you've got to wonder how graphics are actually done.. thats on a whole nother level i think

  • @Magmatwister Not all games use classes, or even C++ but a large majority do.

    Graphics are no mystery, just as you said, another level.

    SDL, OpenGL, DirectX all provide access to the ggraphical functions of a computer.

  • also, if you are looking into graphics, i would check out dark gdk.

  • @Magmatwister

    Okay. Many games don't use classes. And trust me, graphics is no a whole another level. It's a whole new environment. And complex games... even if you use claasses, it'll still get messy. 10000+ lines of code. dammet... that would be hard.... and most games "update" every few weeks, so they gotta KEEP on ADDING lines...

  • i'm sure if i'm reading this on a book, i'm not going to understand this, thanks for the video tutorial

  • the

    void Soldier::attack()

    {

    }

    makes more sence now. I have a book that tries to explain it but essentially skips it. thank you.

  • @fur8ar :: is simply a scope specifier, its simply saying that this method is part of a certain class.

  • i dont think this will work, when you put your attack function in the class and you do cout << strength; whos strength is it going to show if i have Soldier dave(10) and Soldier john(20). i know you can do john.strength but that only works if i write it in the main function

  • Comment removed

  • nvm i tried it out and it worked perfect

  • Comment removed

  • BRAVO!!!

    Better than my C++ teacher..

    Keep it up!!

  • there's a lot of other languages that are easier, most of them are easier. whats your point?

  • @element1988

    You are, apparently, very uneducated if you think c++ isn't better/more functional than almost all other languages. Yes, there are easier languages to learn, and no, they are not more functional. In fact, most of those languages are WRITTEN in c++ or c# or c, meaning that they have less functional purposes than c++. Now it's true, most programmers wouldn't use those functions, but some (such as game programmers) do.

    tldr; Shut the fuck up about stuff you don't know about.

  • @RiddlesInHell Read my post again, idiot...

  • @element1988

    Perhaps I didn't phrase my statement correctly; for that I apologize. What I mean is that you come onto youtube apparently searching for C++ tutorials, and then once you get to one that somebody worked extremely hard upon, you take it and say, "Why make c++ videos when there are a ton of easier programming languages?". That, to me, is just plain dumb.

    Please learn to appreciate hard work.

    ~

  • @RiddlesInHell ok... dude thats not what im getting at.... if you used your eyes you would see that im not the one who wrote that message.. the guy who your trying to reply to is the guy that replied to my message... look at the username if the guy who wrote that comment and maybe then you will see it wasnt me...

  • @element1988 antiRTFM's point is to HELP people LEARN C++ for FREE. It says on the title of the video "C++ Tutorial...". element1988, either you are a SAD LONER looking for attention, or you are DUMB as F U C K. Either way, I pity you.

  • @elementu2011 Another retard that replies to a comment without looking at what it is replying to... If you had more then 2 brain cells to rub together you would know I wasn't talking to AntiRTFM. I was talking to a the guy that said there's no point learning C++ because there is easier languages. NOW WHO IS DUMB AS F U C K?

  • @element1988 You're the retard... retard!  Just... go die in a fire. Its what you deserve.

  • @elementu2011 lmao nice come back...

  • This is explained so much more clearly and easier to understand than my C++ book !!

  • Legend :D

    Spoonage!

  • ... a week ago I knew that 1+1 would perhaps make 2 . Now thanks to the amazing teachings of the nicest teacher You can find and thanks to my browsing on youtuve! Im having the most fun and understanding of something I once saw untouchable ! the c ; )

  • I love your videos as they are exactly what is needed for a jargon free introduction C++. You already know there is a great need for this. So thank you for putting this out there. But can you continue this effort in the near future? What if you just put a video out each month? That wouldn't be so arduous and taxing on your schedule. Please don't be sensitive about your English. It's much better than you let on.

  • Doing really good. I had previous experience in C++, and this is about the first video that I started learning stuff and it's extremely helpful! Thanks!

  • Keep them comming :)

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