|
From: <m.d...@fe...> - 2005-03-19 15:50:38
|
Need help!
When compiling the following dev-c++ project I get some errors:
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
int a;
a = cin.get();
}
class CBruchzahlen
{
private:
long lZaehler;
long lNenner;
public:
void sayHello(char * message);
}
void CBruchzahlen::sayHello(char * message)
{
cout << "Test";
}
Errors:
-) new types may not be defined in a return type
-) two or more data types in declaration of `sayHello'
-) prototype for `CBruchzahlen CBruchzahlen::sayHello(char*)' does not match
any in class `CBruchzahlen'
Can anyone help?
Markus
|