Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the usage of clas templates

Answer Posted / anil kumawat

through this we can make generic function. so this function
will work for any data type.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the ways in which a constructors can be called?

2045


When not to use object oriented programming?

1020


What is polymorphism used for?

1015


What is coupling in oop?

969


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

2140


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6621


What is a class and object?

1002


What is a class oop?

956


Describe these concepts: Polymorphism, Inheritance and Abstraction.

1139


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

2225


Write a program to sort the number with different sorts in one program ??

2324


What is the difference between a constructor and a destructor?

1174


Why is oop useful?

1033


Why multiple inheritance is not possible?

1018


Why is oop better than procedural?

1021