Functions

If someone could please just tell me what is wrong in this program and try to write it right way. http://codepad.org/k7lCFv53 . thanks
You should read a basic tutorial on C++. Line 29 is trying to fit two chars in a single char variable; line 36 probably needs to use operator== instead of operator= (notice how it is two equal signs, not one); lines 38 and 44 call the functions but specify no arguments.
Topic archived. No new replies allowed.