Re: [gtk-list] Re: Why doesn't GTK+...



Nils Philippsen wrote:
> 
> > There could be two copies of the function allowing for backward
> > compatibility. Doesn't the compiler choose which function to run based
> > on the arguments?
> 
> <SARCASM>
> Do we program C++ here or what?
> </SARCASM>
> 
> Polymorphism isn't part of ANSI C.

That isn't polymorphism. It's overloading.
PS: I program C++ here.

-- 
SEGV  -  http://www.cgocable.net/~mlepage/
Features Minion real-time strategy game, RTS game programming info,
GTK+ tutorial, etc.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]