Re: Why We Use C Than C++...



Sorry, I used the wrong word *sophisticated*. A better word is
*elegant*.

And you are right. You can do the same thing in C as in C++. But it's
not build in! You have to code it first - like virtual functions,
inheritance, overloading and stuff...

Ok, and then write me a working equivalent to the C++ template
mechanism... ;o)

.



Relevant Pages

  • Re: LoadString overwrite
    ... doing some special string replacements. ... In MFC 8.0 the CString class is a template class and I couldn't figure ... Overloading it, you get a C2084 (explicit specialization; ...
    (microsoft.public.vc.mfc)
  • Re: LoadString overwrite
    ... In MFC 8.0 the CString class is a template class and I couldn't figure ... Overloading it, you get a C2084 (explicit specialization; ... You might try suppressing the instantiation using the "extern template" ... play linker games to replace member functions. ...
    (microsoft.public.vc.mfc)
  • LoadString overwrite
    ... doing some special string replacements. ... In MFC 8.0 the CString class is a template class and I couldn't figure ... Overloading it, you get a C2084 (explicit specialization; ...
    (microsoft.public.vc.mfc)
  • Re: generic programming is very powerful. c should support it
    ... If you make the template parameters part of the function's name, ... If there is a fully specialized template for these parameters, ... from interactions with overloading and inheritance. ...
    (comp.lang.c)
  • Out of Office Question
    ... to the sender. ... template. ... Office 2000 running via an Exchange server. ... Prev by Date: ...
    (microsoft.public.outlook)