Czesc,
Mam taki problem, że jak naciskam f9 to nie włącza mi się program i nie zapisuje mi się w folderze.
Tutaj kod:
#include <iostream>
#include <fstream>
using namespace std;
string imie, nazwisko;
int telefon;
int main()
{
cout << "Podaj Imie: ";
cin >> imie;
cout << "Podaj Nazwisko: ";
cin >> nazwisko;
cout >> "Podaj numer Telefonu: ";
cin >> telefon;
fstream plik;
plik.open("wizytowka.txt",ios::out);
plik << imie << endl;
plik << nazwisko << endl;
plik << telefon << endl;
plik.close();
return 0;
}