There is photo of files included in this program
Some time ago I started learning object programming in C++ in VSCode. I decided to create quiz using three files - main.cpp, pytanie.h, pytanie.cpp. I wrote all the code which was necessary. My problem is that when I want to start debugging it shows me communique like that:
The statement which VSCode shows me
For addition maybe it will help, I'm gonna paste code form main.cpp:
#include <iostream>
#include "pytanie.h"
using namespace std;
int main()
{
Pytanie p1;
p1.nr_pytania = 1;
p1.wczytaj();
p1.zadaj();
p1.sprawdz();
cout << "KONIEC QUIZU! PUNKTY = " << p1.punkt;
return 0;
}