by "osmium" <r124c4u102@[EMAIL PROTECTED]
>
Apr 8, 2008 at 06:16 AM
"disinfo" wrote:
> I ve this two file:
>
> Conversion.h, conversion.cpp
>
> Code conversion.h:
>
> using namespace std;
> class Conversion
> {
> public:
> Conversion();
> };
>
> Code Conversion.cpp
>
> #include <iostream.h>
> #include "Conversion.h"
> using namespace std;
>
> Conversion()
You have to tell the compiler what class this function belongs to. Change
to
Conversion::Conversion()
> {
> cout << "test";
> }
>
> with g++ C.* I recive the following error:
> Conversion.cpp:4: error: expected unqualified-id before ')' token
>
> I really don't understand where is my mistake.
> Any help will be very appreciate :)
>
> Thanks
>
> Disinfo