|
From: Ioannis V. <no...@ya...> - 2002-02-04 20:57:20
|
I did not see any member function implementations. Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.d2g.com * Alternative URL: http://run.to/noicys > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Horst Roessner > Sent: Monday, February 04, 2002 10:13 AM > To: dev...@li... > Subject: [Dev-C++] linking problem > > > Hello and moin moin, > > I have a seriously problem. The following code produced a > linker error and > no code is build. > > c:\dev\dev-c++\testproj\arrh.o(.bss+0x0)://c/dev/dev-c++/testp > roj/arrh.cpp: > multiple definition of `arh' > c:\dev\dev-c++\testproj\main.o(.bss+0x0)://c/dev/dev-c++/testp > roj/main.cpp: > first defined here > > If i commented out the include, all is compiled fine. I does > not understand > it. Can anyone help me ? Thanks in advance. > File:arrh.h #ifndef arrh_H #define arrh_H [...] class arrhenius { public: arrhenius(); [...] bool calc(); } arh; File: main.cpp #include <cstdlib> #ifndef arrh_H #include "arrh.h" #endif int main(int argc, char *argv[]) { [...] bool b = arh.calc(); [...]} #endif There are two other questions. Last day I have integrated a win api referenz as winhelp into dev-c++. After copy it in the help directory, it was automaticly integrated. Great !! Now I seek such for C/C++ commands, a language reference. Any tip ? Where can I find a list of changes between gcc 2.9.5.2 and gcc 2.9.5.3 ? I could not find anything. greetings Horst _______________________________________________ Dev-cpp-users mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |