Mam błąd error C2447 w Microsoft Visual 2010 Express bardzo proszę o dokładne wytłumaczenie.
Mam trzy pliki i nie wiem w którym jest błąd.
Pierwszy plik:
////////////////////////////////////////////////////////////////////////////
#include "gra.h"
using namespace std;
////////////////////////////////////////////////////////////////////////////
//wynik
string Names[10]; //10 najlepszych wynikow - imiona
unsigned int Scores[10]; //10 najlepszych wynikow - punkty
unsigned int score; //punkty
string Imie; //imie gracza
////////////////////////////////////////////////////////////////////////////
void LoadData()
{
return 0;
}
////////////////////////////////////////////////////////////////////////////
void SaveData()
{
return 0;
}
////////////////////////////////////////////////////////////////////////////
unsigned int GetScore();
{
return score;
}
////////////////////////////////////////////////////////////////////////////
void SetImie( string imie )
{
Imie = imie;
}
////////////////////////////////////////////////////////////////////////////
void SetScore( unsigned int score );
{
score = ascore;
}
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
int main()
{
getch();
return 0;
}
Drugi Plik:
#include "gra.h"
using namespace std;
bool GameOver()
{
system("cls");
cout<<"Przegrales"<<endl;
getch();
return 0;
}
bool StartGame()
{
system("cls");
cout<<"Gra!!!!!!!!!!"<<endl;
getch();
return 0;
}
Trzeci Plik:
#include <Windows.h>
#include <iostream>
#include <fstream>
#include <conio.h>
#include <string>
using namespace std;
//gra
bool StartGame();
//koniec gry
bool GameOver();
//ustawianie nazwy gracza
void SetImie( string imie );
//ustawianie punktow
void SetScore( unsigned int score );
//pobieranie ilosci punktow
unsigned int GetScore();
A więc bardzo proszę o pomoc!!!
Jak w trzeci plik widzicie np. 1. include...
to już poprawiłem ale nic...