Hi, im new to C++ and im using sams teach youself C++ in 21 days fifth edition to help me learn.
Iv just got to the end of day one and an one of the excersises it to guess what the code does before we run it, but when i did compile an run it i had some problems.. This is the code..
Im using Bloodshed dev and these are the errors i got..Code:#include <iostream> int main() { int x = 5; int y = 7; std::cout << end1; std::cout << x + y << " " << x * y; std::cout << end; char response; std::cin >>response; return 0; }
line 4 'end1' undeclared (first use this function)
and
line 8 'end' undeclared (first use this function).
It may be something simple but im completely new to this so i wouldnt know..
Any help would be greatly appreciated.
Thanks