Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // void Ispis(){
- // cout << "\nBroj racuna: " << _brojRacuna<<endl;
- // cout << "Datum kreiranja: ";
- // _datumKreiranja.Ispis();
- // cout << "\t\t>>Artikli<<\n";
- // for (int i = 0; i < _brojArtikala; i++){
- // _artikli[i].Ispis();
- // cout << "--------------------------------->" << _kolicine[i];
- // cout << endl;
- // }
- //
- // char nazivFajla[20];
- // strcpy_s(nazivFajla, 10, _brojRacuna);
- // strcat_s(nazivFajla, ".txt");
- //
- // ofstream upis(nazivFajla, ios::ate);
- // if (upis.fail()){
- // cout << "Greska ne moze se upisati u fajl!\n";
- // }
- // else
- // upis << "\nBroj racuna: " << _brojRacuna << endl;
- // upis << "Datum kreiranja: ";
- // _datumKreiranja.Ispis();
- // upis << "\t\t>>Artikli<<\n";
- // for (int i = 0; i < _brojArtikala; i++){
- // _artikli[i].Ispis();
- // upis << "--------------------------------->" << _kolicine[i];
- // upis << endl;
- // }
- // upis.close();
- // cout << "\nUspjesno upisano u fajl ---> " << nazivFajla << endl;
- // }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement