Template class and class template in c++, C/C++ Programming

Differentiate between a template class and class template in C++?

Ans) Template class: A generic definition or a parameterized class not instantiated until the client gives the required information. It's jargon for plain templates. Class template: A class template verifies how individual classes can be constructed much like the way a class specifies how single objects can be constructed. It's jargon for plain classes.

 

 

Posted Date: 4/8/2013 3:23:55 AM | Location : United States







Related Discussions:- Template class and class template in c++, Assignment Help, Ask Question on Template class and class template in c++, Get Answer, Expert's Help, Template class and class template in c++ Discussions

Write discussion on Template class and class template in c++
Your posts are moderated
Related Questions
Newton's method for cube roots is based on the fact that if y is an approximation to the cube root of x, then a better approximation is given by the value: (x/y 2 +2y)/3 (a)

Write a c++ program to find the sum of 0.123 ??103 and 0.456 ??102 and write the result in three significant digits


Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b

Program1: Write a program to find the factorial of a given number. The input is user given. Final output is printed out on to the screen. Program2: Write a program to gene

WHAT IS CGI?

Write a program that illustrate  Macros with Arguments? Macros is able to also have arguments, just as functions can. #define AREA(x)(3.14*x*x) Then at any time the prepr

A: In C++ the access privileges are public, private and protected. The default access level assigned to members of a class is private. Private members of any class are accessible o

Ask question #Minimum 100 words awhat is the pre condition for binary searching ccepted#

Declaration of Variables: Variables are declared as follows: int a; float b;   Assigning value to variables: int a = 100; Declaring and assigning is called ini