I have created a form (a VC++ GUI) and also another data class. I have included data.h in form.cpp
When I press a btn on the form, I want to call a function in data.cpp.
How do I create a data object so that it can be used when called by function btn1_click to access data in data.cpp?
When I press a btn on the form, I want to call a function in data.cpp.
How do I create a data object so that it can be used when called by function btn1_click to access data in data.cpp?