![]() |
difference between Typename and Class in C++
Hi
Q what is difference between Typename and Class in C++? Q what is difference between typedef and typename? Thanks Pallav Singh |
Re: difference between Typename and Class in C++
Pallav singh wrote:
> Hi > > Q what is difference between Typename and Class in C++? > Q what is difference between typedef and typename? > http://www.parashift.com/c++-faq-lit...t.html#faq-5.2 Google is also your friend. |
Re: difference between Typename and Class in C++
On Apr 19, 3:08*pm, Pallav singh <singh.pal...@gmail.com> wrote:
> Hi > > Q what * is * difference * between * Typename and * Class *in * C++? > Q what * is * difference * between * typedef * and * typename? > > Thanks > Pallav Singh Hi Pallav I assume it isn't a homework. typename is a keyword which mainly used in programming templates. class is the most important fundamental concept in C++. It is used for design and implementation of user-defined type. typedef is used for somehow introducing a new name for a type (built- in and user-defined). They are vey different in nature and usage. "typedef" is C/C++ keyword but "class" and "typename" belongs to C++. I really don't want to be precise. Use C++ FAQ and The C++ Programming Language by Bjarne Stroustrup for details and of course start C++ programming. Good luck, -- Saeed Amrollahi |
| All times are GMT. The time now is 09:05 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.