C++ Tutorial #11, Templates (2)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
5,651
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 28, 2007

User-Defined Data Types;
Templates, Part 2;

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (zaychenok)

  • А какой это IDE и / или компилятор?

    Спасибо за туториал.

  • @jw200 Dev-C++. Обьяснение как его скачать, можно найти в нулевом уроке (Урок 0). Не за что :)

  • Have you done anything on vectors yet? You mentioned it in an earlier tutorial, was wondering if i'd missed it. Cool videos, I'm learning alot :)

  • I was actually going to do a tutorial on vectors, and I've tried making a couple - but they didn't turn out that well.. I'll keep trying though =)

  • You'd optimate the code if you used cin.get() instead of getch.

  • Thats true for this case, but if you got user input using the standard istream, cin.get() will think that you pressed an enter key already - after you enter your data type. Also, system("PAUSE"); is plausible, but system commands do not run on other OS's, so that wouln't be good for anyone running something other than windows. I guess you can use any one of the three - depending on the occasion

see all

All Comments (9)

Sign In or Sign Up now to post a comment!
  • Impressive video. Knowledge is one of the most valuable things in the world.

  • The power function doesn't work. You can't use a for loop to raise a base to a fractional power.

  • endl flushes the output buffer and looks neater than having \n at the end of your string.

  • lol u always seem to be wasting time using endl , why not use \n ?

  • The word you were looking for is the "Product". :D Good tutorial by the way.

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