-
18
pages
-
English
-
Documents
Description
MODULE 24 TEMPLATE This type, that type, so many types, No more type! GENERIC TYPES My Training Period: hours Some notes: - Well, you have completed the wave of the procedural programming then object oriented programming. In order to complete your C and C++ journey, this Module will introduce you the generic programming. - This Module just to introduce you what the template is. The main task is to learn how to use and manipulate the STL components later. - This Module may be very useful if you want to create our own template but at the same time it should provide us with a good understanding of the template itself. - Compiler used in this Module is Visual Studio .Net® 2003 because many of the C++ features do not supported by some of the lousy compilers included Visual Studio/C++ 6.0® with Service Pack 6 (SP6) :o) g++ (GNU C++) example is given at the end of this Tutorial. With g++, you will be warned if there are outdated and danger constructs in your programs :o). - The moral of this very short story is: if you want to develop programs that use many of the C++ features and don’t want to get cheated by the compiler, use fully ISO/IEC C++ compliance compiler. - You can see that many times naïve programmers have been cheated by the compiler! You think there is something wrong with your codes, but the compiler itself does not have the capabilities to understand your codes :o) or your codes really have bugs :o). - This Module and ...
-
Publié par
-
Langue
English