Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (23)

Sign In or Sign Up now to post a comment!
  • Thank You.

  • whats the difference between || and | or && and&

  • @adityagnet && and || indicate operations with truth values. a || b means "true if a is not false or b is not false; false otherwise". It evaluates b only if a was false. || stands for "or"; && for "and". See Wikipedia articles on Boolean for explanation on the concept.

    & and | do bitwise calculations with two integers, producing an integer result. It is easiest to understand when you think in binary. See the Wikipedia articles of Bitwise_OR and Bitwise_AND for a detailed explanation on that.

  • @radinkins You are actually quite mistaken. C++ is being improved even today -- in fact a new version of the standard was released just a few weeks ago. Also, it is no more "full of memory leaks" than English is full of expletives. Anyone can make bad code, sure, but inefficient and dysfunctional prorams can be made in any language if one so chooses. In C++ I follow design principles that are almost completely devoid of pointers and memory management. I apologize to everyone if I fed the troll.

  • @Bisqwit Thanks for inspiration. Just began to learn c++, caz AS3 is "full of memory leak"

  • @radinkins Thats right. He should use a superior language like assembly!

  • @masterofall66 LOL!!!

  • great video, thanks for the upload!

  • I think DOS Environment is a little bit old. But again i like it.

    Also, the music is awesome! :) Good Job!

  • Your an EXPERT!

  • You shouldn't inherit from a STD-Container because his Destructor isn't virual...

  • @hiphoper19881988 Such action is indeed a problem when and if the source code stops referring to the derived type and starts referring to the base type. This code however does not do that, and there is no problem.

  • @Bisqwit Yes but when you or someone else uses your classes as the template-argument for a STD-Container? Then there will be a memory-leak.

    (Sorry for my bad english)

  • @hiphoper19881988 No there will not, if the template type of the outer container contains the right type. As in, template(typename T) class myclass: public std::vector(T) ( ... ); std::list(myclass(int)) p; p.push_back(myclass(int) ()); p.clear(); Does not contain a memory leak.

    Apologies for using wrong parentheses, but YouTube blocks the post otherwise.

  • @hiphoper19881988 That's the nerdiest comment on Youtube. Just sayin'.

  • This is why I love math. C++ IS THE FUTURE!

  • Yea, kinda badass. I like how you did it all in DOS. Old school.

  • haha reminded me of Radiohead - I Froze Up

  • Very impressive.

  • Wow! Seriously, I love every part of your "rerecording set up" and these moving char on the bottom screen are quite intriguing.

  • @BadPotat0 The program itself, not so much? :P

  • OMG godly done! ;)

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