No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
the problem lies when the move checks to make sure it is valid, every move will display valid or not valid, and the code always displays not valid everytime [code=cplusplus] #include <iostream> #include <fstream> using namespace std; int initialmenu(); void initialboard(char board[][8]); int moveoptions();//function prototypes void appropriatemove(char board[][8], int move, …
using visual studios C++ express 2005 edition this is my code but when I run it I get a bunch of garbage...any suggestions would be greatly appreciated!!!! [code=cplusplus] #include <iostream> #include <fstream> using namespace std; int length(char phrase[]); void concat(char phrase1[], char phrase2[], int measure1); void copy(char phrase1[], char phrase2[]); …
I think it should be cin.getline...
i think you should have two statements instead one just one example instead of if ((num1 <=1 && num1 >=9) || (num2 <=1 && num2 >=9)) do this if (num1 < 1 && num1 > 9) and if (num2 < 1 && num2 > 9) also you don't want to …
The End.
tigger0484