When I open a .txt file with Notepad in C++, my program does not continue until I close Notepad.
How can I have my code continue instead of waiting like this?
Code:
string a;
string topicName;
a = "C:\\Hello\\Hi\\Hi.txt";
topicName = "notepad \"" + a + "\"";
system(topicName.c_str());