I believe I copied this code verbatim from my C++ book. I get "undeclared identifier" errors on lines 6 and 8. I will never learn the basic if this book has shitty code.
Please tell me whether I am idiot, Visual C++ sucks, or I need to throw this book in the garbage:
#include <iostream>
int main()
{
int x = 5;
int y = 7;
std::cout << endl;
std::cout << x + y << " " << x * y;
std::cout << end;
return 0;
}
Name:
Anonymous2007-08-17 19:36 ID:mFw/616K
Disregard those typos, I've been up all night sucking cocks.
>>6
LOOK WHAT I WROTE IN >>4
YOU FUCKING IDIOT
std::cout << std::endl;
GETFOTGUCKF UKCUFKUCKUKFUKCUKFUKCUKUCKUFKUFKUCKUUCKFUKUFKUCKUCKUKFKCUKCFKFUKUCKUFKUCKU
>>9
MENTION YOUR FUCKING BOOK YOU GODAMN IDIOT
YOURE FUCKING ANGERING ME
IM GOING TO FUCKING EXPLODE
WORSE THANFUCK
Name:
sage2007-08-17 20:10 ID:mFw/616K
The book is Sams Teach Yourself C++ in 21 Days (5th Edition), the code is from Excercise 1 on page 23. I will provide you with a scan if you like. I copied it verbatim. VERBATIM.
Name:
Anonymous2007-08-17 20:14 ID:VKRPxEjT
>>11
THAT'S WHAT YOU GET FOR BUYING A "TEACH YOURSELF X IN N TIME-UNIT" BOOK.
>>18
That doesn't sound correct. It may be better (which is why you're writing your programs with the front panel switches, amirite), but it's pretty clearly less. I think what you should have said was that less work is more better.