I have made the adjustments advised and i am still recieving a compilation error. These are the errors i am recieving:
test1.cc:252: error: `main' must return `int'
test1.cc: In function `int main(...)':
test1.cc:255: error: `books_t' undeclared (first use this function)
test1.cc:255: error: (Each undeclared identifier is reported only once for each function it appears in.)
test1.cc:255: error: expected `;' before "abook"
test1.cc:256: error: `pbook' undeclared (first use this function)
test1.cc:257: error: `abook' undeclared (first use this function)
test1.cc:263: error: invalid use of undefined type `struct std::stringstream'
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../include/c++/3.4.3/iosfwd:84: error: declaration of `struct std::stringstream'
test1.cc: In function `int main()':
test1.cc:274: error: declaration of C function `int main()' conflicts with
test1.cc:252: error: previous declaration `int main(...)' here
|