PDA

View Full Version : create a start button that launches my main.cpp



Fouad Hanoun
23rd January 2016, 11:48
hello guys, how can i create a start button that launches my main.cpp when pressed, and if it's pressed again, it resets everything and launches again.

any idea?

anda_skoa
23rd January 2016, 12:20
Well, which part of that do you have a problem with?

Cheers,
_

ChrisW67
23rd January 2016, 20:27
Are we talking two completely separate programs, one started by the other, or one program where a UI is "launched" and "relaunched"?