ah! Thanks!!!!
Type: Posts; User: thewierdone2000
ah! Thanks!!!!
alright, Ill just have a -1 be the value (seeing as its made for adding any way)
Thanks for the help
So is there any way to have it stop when it gets to the end of That input?
when it reaches the last value?
24 5 6 9 = cin
then after 9 would be end of file right?
Maybe I am wrong, I am going off of a book (but its got good reviews... c++ primer)
Wouldnt it fail at the end of the file? It ends (and gives me the sum) when I press ctrl +z (the manual way to tell it end of file) But it seems as though that event isnt triggering.
Hey, first off, this is my first time here, hopefully I will be able to give back to the community as my knowledge and programming skills are increased.
I started out in VB6 (stop laughing!) in my...