|
-
February 16th, 2009, 05:03 PM
#25
Re: Newbie'z first real program. Could use some CONSTRUCTIVE critizism to learn...
hey,
thanks everyone for this educational argument !
this is great.
so.... bottom line here is
I should use
Code:
const int maxrand = 40;
and NOT use
????
also... I'm only trying cin.get because I'm trying to use different things to learn, no other reason. I was wondering if someone could explain why the cin.get(); doesn't work without the cin.clear and cin.ignor ? I see it in other programs without those lines and it works fine. why why why ? : \
thanks again everyone.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|