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
how objects are initialized dynamically?

Write a program that does the following: Calculates the Velocity and Momentum of an object. The formula for the velocity is V=d/t and the formula Momentum is m=mass*velocity. Your

THIS PROGRAM IS TO ADD TWO DISTANCES & SHOW THEIR SUM AS NEW DISTANCE # include # include typedef int dist; struct distance   {   dist inch;   dist feet;   }; distance add

Unlike C++, other programming languages have associative arrays that allow array indices to be strings instead of just integers. You are to create a template class, SVector, that i

write a pseudocode algorithm for a program that accepts a number and prints out its reciprocal(1/n) is required.the program should prevent the user from entering zero by asking t

C program to print L diagonal triangle: void main() {                 int i=0,j=0;                 int arr[rows][cols];                 for (i=0; i

Define a procedure that takes three numbers as arguments and returns the sum of the squares of the two larger numbers.

Project Description: collect / modify person records / photo images/ lookup / facebook iphone and ipad App basic function : 1 user will configure facebook connection

algorithm to prepare mark sheet of a student by inputing name,branchcode,semester,register no,5 marks of students and total mark of student

Project Description: I play this game called mobstar (mobstar) and I would like the program to grade my account for me. It would require doing a crime, GTA, jail busting, lead a