Yet again, I'm stumped. The teacher is very "hands off" and by that I mean she won't answer any sort of coding questions, you have to find the answer on your own. Some classmates and I are stumped by this one-
I have an struct which is an array Student a[3].
The first part of the...
thx for the input. I'm not allowed to use fscan unfortunately...
I will look into what you said scooby.
I ended up taking the input as a string, and then using this streamstring to convert it back into an int. It seems to be working.
Thx for everyone with my last two problems... a lot...
but I've defined choice as an int variable...?
I think I need to use the isdigit function but I can't seem to get it to work.
I guess I could use the char variable but if the users types in 14 or 24, it will read it as 1 and 2.
So I'm writing a paper rock scissors program for class and I need to validate that the input is a number and not a letter, I get a infinite loop other wise. here is my function for it-
int getHumanChoice()
{
int choice=0;
while(true)
{
cout << endl...
He was face down and wouldn't give up his arms... Mehserle said he saw him going for his waistband and then decided to taze him. You really need to get your facts straight.
I've followed the case and what I believe is that I don't think you can prove he meant to kill him. I think it's involuntary manslaughter... pretty clear cut.
But yes, IMO, I truly beleive he didn't mean to pull out his gun.
He's charged with 2nd degree... almost impossible for this crime to be premeditated.
I'd be shocked if he gets a murder charge... more than likely involuntary manslaughter. The jury asked a provaction question early in deliberation that hinted towards that.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.