A Big Thanks to all that helped me out on my two problems..
and for those interested..i solved my clear screen problem really easy by simply using:
#include <stdlib.h>
system("cls")
Type: Posts; User: kimmiej
A Big Thanks to all that helped me out on my two problems..
and for those interested..i solved my clear screen problem really easy by simply using:
#include <stdlib.h>
system("cls")
Since MS C++ doesnt support that lib file...are there any other suggestions to clearing the screen..???
Ive added the conio.h lib and the clrscr(); still doesnt seem to want to work....ive put in several places in the code (???)
Also::::a huge thanks goes out to Fordy... :) :) your code...
Thanks Fordy...:cool: :D
One other question and my program qill be complete.....Suppose I wanted to have it test to see if the user put in something other than the R P or S ---- I've tried a few things but it keeps giving me...
Thank you....:D :D :D
It is for char here is the code:
//This program will play the Rock Paper Scissors Game
#include <iostream.h>
#include <ctype.h>
int main()
{
char user_one, user_two, response = 'Y';
I have written code for a game --- when the users say they want to play again, i want the screen to clear -- any help wold be appreciated..thanx in adv