So i have this code
MemoryClass memory;
MyClass mC(false, memory);
loaded in main then i do
std::thread tMC(mC.run, memory);
Which doesn't works. What i want to do is to call mC.run(memory)
with the thread
My final goal would be to have a main while loop, and if needed run the sub functions in it without interruption. I need this to make a software that will be console based, and when for example you press "A" will run a certain function then if you press "B" will run the two at the same time