Please use code tags, it makes readability a lot better on the eye.
As for the error, assignment7.cpp:229: error: âNewPrinterâ was not declared in this scope
You need to declare a new cPrinter object named NewPrinter
Code
//cPrinter NewPrinter
And you're getting the error, assignment7.cpp: In function âint main()â because you need to return 0 at the end of the function.
Code
int main()
{
return 0;
}
etc
This post was edited by CppDevr on Sep 18 2012 12:50pm