Volume : I, Issue : II, October - 2012
Introduction to Templates
Mr. A. N. Shah, Mr. N. N. Shah
Abstract :
Templates allow us to define generic class and function. So it supports generic programming. Generic programming is an approach where generic types are used as parameters in algorithms so that they work for a variety of suitable data types and data structures. A template can be used to create a family of classes or functions. For example, it can be used with class like student etc and it also can be used for function mul() etc. A template is also known as a kind of macro. Whenever template is created for any class it required substituted data types. Since template is define with a parameter for classes or functions so it is sometime called as parameterized classes or functions. The main aim of this thesis is to show various ways to use template either with function or class.
Keywords :
Article:
Download PDF
DOI : 10.36106/ijar
Cite This Article:
Mr. A. N. Shah, Mr. N. N. Shah Introduction to Templates Indian Journal of Applied Research, Vol.II, Issue.I October 2012
Number of Downloads : 1058
Mr. A. N. Shah, Mr. N. N. Shah Introduction to Templates Indian Journal of Applied Research, Vol.II, Issue.I October 2012
Our Other Journals...
-
International Journal of
Scientific Research Visit Website -
PARIPEX Indian Journal
of Research Visit Website -
Global Journal for
Research Analysis Visit Website