I get en error, whats wrong?

Hello,
What wrong in the code below? i got en error like this:
"excepted '(' before ',' token" in first constructor (Student(string ,int ,int);)

In addition i get: "'String' does not name a type" (line 19)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef STUDENT_H_
#define STUDENT_H_

using namespace std;

class Student {
public:
	Student(string ,int ,int);
	Student(Student&); //
	string getName() const; //
	int getID() const; //
	int getAverage() const; //
	void setName(string); //
	void setID(int); //
	void setAverage(int); //
	string format();
	virtual ~Student();
private:
    string name;
    int id, average;
};

#endif /* STUDENT_H_ */ 


I cannot see something wrong... I hope someone can tell me what i did wrong.

Thank you very much!
#include <string>
Also, you should avoid using namespace std; in headers. It pollutes everything that includes it.
well, thank you very much!!!
i fill so stupid... :-D
Topic archived. No new replies allowed.