149631_0_13805.cpp:9: error: `string' has not been declared
149631_0_13805.cpp:10: error: ISO C++ forbids declaration of `str' with no type
149631_0_13805.cpp: In function `void input(hp&, int)':
149631_0_13805.cpp:12: error: invalid types `int[int]' for array subscript
149631_0_13805.cpp:12: error: `size' has not been declared
149631_0_13805.cpp:12: error: request for member of non-aggregate type before '(' token
149631_0_13805.cpp:13: error: `erase' has not been declared
149631_0_13805.cpp:13: error: request for member of non-aggregate type before '(' token
149631_0_13805.cpp:14: error: expected primary-expression before "int"
149631_0_13805.cpp:14: error: expected `)' before "int"
149631_0_13805.cpp:16: error: invalid types `int[int]' for array subscript
149631_0_13805.cpp: In function `int main()':
149631_0_13805.cpp:48: error: `string' undeclared (first use this function)
149631_0_13805.cpp:48: error: (Each undeclared identifier is reported only once for each function it appears in.)
149631_0_13805.cpp:48: error: expected `;' before "str1"
149631_0_13805.cpp:50: error: no match for 'operator<<' in 'std::cin << t'
149631_0_13805.cpp:53: error: `str1' undeclared (first use this function)
149631_0_13805.cpp:53: error: `str2' undeclared (first use this function)
149631_0_13805.cpp:59: error: expected `;' before string constant
149631_0_13805.cpp:59: error: missing terminating " character
|