Answer the question
In order to leave comments, you need to log in
How to organize variables if we add a file with a class?
Good afternoon.
There is a main.cpp file in which variables are declared and used.
There are modul.h and modul.cpp which implement a class that uses these variables.
I connected the header file, but it still shows that the variables in the class are not declared.
I thought in the class constructor to make a class declaration, but for some reason the byte array does not understand.
BYTE* buffer.
Answer the question
In order to leave comments, you need to log in
There is a main.cpp file in which variables are declared and used.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question