Witam.
Mam taki problem:
#include <iostream>
#include <string>
#include <fstream>
using namespace std;
struct kosmos
{
int numer; // numer w bazie
string nazwa;
string masa;
string ID;
};
(...)
case 3:
{
cout<<"Pozycje w encyklopedii: \n\n";
int n = rozmiar(argv[1])-1;
kosmos *s=new kosmos [n];
zpliku(argv[1],s,n);
wypisz(s,n);
delete [] s;
break;
}
W linijce:
zpliku(argv[1],s,n);
wyrzuca mi błąd, którego jeszcze nie jestem w stanie/nie umiem rozwiązać.
[Error] 'zpliku' was not declared in this scope
Czy mógłbym liczyć na pomoc?