Ok, my cout code is not working and I have no reason why.
cout<<"Enter your heath.\n";
Thanks for the help.
Type: Posts; User: Limming
Ok, my cout code is not working and I have no reason why.
cout<<"Enter your heath.\n";
Thanks for the help.
Actully we are using Visual Studio so I have no idea why we are still using iostream.h. And this is the only class I can take for C++.
Ok,thanks we use iostream.h in my class at school but we must be using a hold complire.
I'm working on learing C++ and I get in error saying that my header is out of data I use #include<iostream.h> and my program is Dev-C++ version 4.9.9.2. Is there a different header that I sould be...
Surly your mistaken are you talking about Company of Heores Oppessing Fronts because that came out on Sep 25 ....
Was what? Decade?? I think it was 30$ at walmart and oppest fronts is 40$
guess you have never played company of heores C&C sucks compared to it is still a good game just wish I had known oppesing fronts was out whould have got that insted so now Im extremly mad right now.
I didnt know company of heroes oppesing fronts was out and I went and wasted all my birthday money on C&C decade edition I am going to die.
ive been learing that realy fast....
no,we are just friends who have majorly diffrent oppenions
i was just stateing my opion......... i even stated that..... and you cant block me from your threads with out a mod..
no acully they dont... ms has bloody violete games like h3 and gears of wars plus many games also i dont think the best game comeing out this year is comeing out on any nintendo systems.... Unreal...
OOO god you dont want to get me started on one of mindless rants when I talk to mindless nintendo supporters same with mac people..
Ok this just proves your a mindless zombie controled by nintendo almost as bad as the zombies controlled by apple but that is off subject so... O and maby the reason the wii is selling better is...
i dont think cod4 will be anygood but im just going off what happend to battle feild 1942 its propley one of the best fps games ever but when it when modern it *#&$@%# suckd.
Ok thank you. now just sugestions on the combat,
I'm working on a game where at least for now just enter 1 for yes or 2 for no and was wondering each time I have enter 1 or 2 do I need a new varable or can I use the same one over and over?
Also...
It seems that with all the programs I make I always end up dumping them because first time I test run the cin and cout dont work and I'm tried of it and want to know what I'm doing wrong. This is...
will simple anser its a stupid mac dont use them
Thank you for the help I tried to run it but when I enterd the number and pressed enter the program shut down.. how can I fix this?
I dont realy understand what your trying to say. Cin.ignor() is a varable so I though I had to declare it but it still does not want to work..
I combaned to of the exaple's and it's not working I've tryed everthing I can think of and it's still not working.
Heres my code
using namespace std;
int main()