User profile: coder777

User info
User name:coder777
History
Joined:
Number of posts:4578
Latest posts:

Hope I'm posting this in the correct forum..
Change line 38: [code]"hungry"[/code] -> [code]string("hungry")[/code]. It needs to be the same type...

Function and While Help
Yes, but not like that. Line 4 should be: [code]statef();[/code]

RunTime Error not working....
#include<stdexcept> See: http://www.cplusplus.com/reference/stdexcept/runtime_error/?kw=runtime_err...

object oriented inheritance
Do you have a question? And no: that's not useful inheritance.

Word Counting from Array onto Output File
Use a map: http://www.cplusplus.com/reference/map/map/?kw=map Line 15: [code]map<string, int> word...