User Profile
Collapse
-
calling pass by value functions
can someone show me an example of how i will do call a function and its value . i guess maybe the synetex -
function that takes care of turn
i dont know of a better way to write this i am stuck. i want to tell the user whose turn it is : i get this error
error: expected `:' before ';' token
for this code below
Code:int turn_it_is(int play1, int play2) { cout << (((play1%2)==1)((play1:play2)); cout << " it's your turn "; cin >> turn_it_is; }
No activity results to display
Show More