|
From: Ioannis V. <no...@ho...> - 2002-04-10 11:46:28
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Kenneth Armstrong > Sent: Wednesday, April 10, 2002 5:35 AM > To: dev...@so... > Subject: [Dev-C++] newbie problem > > > i tried to make a program that uses both c and c++ commands. > well, i'm new > to this so it didn't work. the error that i got was "call of > overloaded > 'CeFunction()' is ambiguous". here's my code: extern "C" is used for functions defined in a .c file, that is to interoperate with C stuff e.g. a C library. In your case extern "C" is not needed since you programmed in C++ (even in C-style C++). Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys |