Well, the errors are
Code:
Comeau C/C++ 4.3.10.1 (Oct 6 2008 11:28:09) for ONLINE_EVALUATION_BETA2
Copyright 1988-2008 Comeau Computing. All rights reserved.
MODE:strict errors C++ C++0x_extensions
"ComeauTest.c", line 46: error: identifier "famousePerson" is undefined
string seconline = "I wanted to inforn you the" + famousePerson + 'received your letter.';
^
Simple typo.
Code:
"ComeauTest.c", line 46: error: too many characters in character constant
string seconline = "I wanted to inforn you the" + famousePerson + 'received your letter.';
^
"ComeauTest.c", line 48: error: too many characters in character constant
string fourthline = " But we will gladly donate" + numberInput + 'for your cause.';
^
"ComeauTest.c", line 49: warning: multicharacter character literal (potential
portability problem)
string fifthline = "We are sorry and hope you have a" + emotionInput + 'day.';
^
"ComeauTest.c", line 49: error: no operator "+" matches these operands
operand types are: std::basic_string<char, std::char_traits<char>,
std::allocator<char>> + int
string fifthline = "We are sorry and hope you have a" + emotionInput + 'day.';
^
"ComeauTest.c", line 50: error: too many characters in character constant
string lastline = "Your" + adjectiveInput + 'friend, Jesus G.';
Single quotes are for characters, double quotes are for string literals. ^
Code:
"ComeauTest.c", line 55: error: identifier "secondline" is undefined
cout << secondline << endl;
Another simple typo.