Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C - C++ Learning > c++, unqualifie...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 4097 of 4193
Post > Topic >>

c++, unqualified-id before

by disinfo <spikehead@[EMAIL PROTECTED] > Apr 8, 2008 at 11:03 AM

Hello
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()
{
  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
 




 4 Posts in Topic:
c++, unqualified-id before
disinfo <spikehead@[EM  2008-04-08 11:03:56 
Re: c++, unqualified-id before
"osmium" <r1  2008-04-08 06:16:08 
Re: c++, unqualified-id before
disinfo <spikehead@[EM  2008-04-08 14:43:25 
Re: c++, unqualified-id before
Ulrich Eckhardt <dooms  2008-04-08 20:51:49 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 10:39:51 CDT 2008.