Im making this bad mudgame, just to learn c++ while doing sometjhing, and I came to a problem. I have made enemies in a nother file. and I tryed using header files, bu that diddnt work like planed so I tryed running em in a nother .exe file, and need to return if you won or not...
or something like that, but it requires that I get the result back from fight.exe is that possible?Code:system("fight.exe") if (result == '1') { mob = '0' win++; }