WAIT! I see they beat me to helping you, but at least they answered your question! You must never give up on any language! You can never know too many languages... It's good to atleast know the basics...
C++ DOS ChessI'm trying to make a Chess game that runs on Dos in C++
20 Replies - 3658 Views - Last Post: 14 July 2009 - 07:32 PM
#17
Re: C++ DOS Chess
Posted 14 July 2009 - 05:07 PM
Then could you show me the error so I can know this valuable function in the future?
#18
Re: C++ DOS Chess
Posted 14 July 2009 - 05:08 PM
NO! Don't give up like that! The error means that you never created "input" just add
EDIT: but the others are right: chess is not a good project to learn if/else statements on. If you jump ahead too fast, you'll find yourself giving up like you just did a second ago.
int input;and it should work perfectly.
EDIT: but the others are right: chess is not a good project to learn if/else statements on. If you jump ahead too fast, you'll find yourself giving up like you just did a second ago.
This post has been edited by xPurplex: 14 July 2009 - 05:10 PM
#21
Re: C++ DOS Chess
Posted 14 July 2009 - 07:32 PM
i see your using printf and cout. I would just use cout for bettter c++ practice. remove all your system("pause"); commands and just place a cin.get(); before your return 0;
|
|

New Topic/Question
Reply





MultiQuote



|