#include <iostream>
using namespace std;
const int g_kiSize = 3;
char g_acBoard[g_kiSize][g_kiSize] = { { ' ', ' ', ' ' },{ ' ', ' ', ' ' },{ ' ', ' ', ' ' } };
void resetBoard();
bool...
Type: Posts; User: Lu1408
#include <iostream>
using namespace std;
const int g_kiSize = 3;
char g_acBoard[g_kiSize][g_kiSize] = { { ' ', ' ', ' ' },{ ' ', ' ', ' ' },{ ' ', ' ', ' ' } };
void resetBoard();
bool...
okay well the error says "Unable to start program (directs to file)" however the last file is the .exe file which isnt in my debug folder. then below that it says "The system cannot find the file...
it was a screenshot, i posted it again and it seems to work fine now
15903
so im not sure if theres an issue with my code but this same error keeps popping up about the .exe and i have no clue what to do. any help? ...
else if (op == '/')
{
if (num2 == '0')
{
cout << "Cannot divide by zero" << endl;
}
else
{
...
thank you i didn't realise i could have an if inside another if. would you know how i could include a thing were if the user tries to divide by zero a error would come up saying "cannot divide by...
#include <iostream>
using namespace std;
int main()
{
while (true)
{