Jr Dev Code
#include <iostream.h>
int main() { << cout "Hello, World!" << endl; return 0; } |
You fail.
|
I think my eyes are bleeding...
|
lol...
|
Copied that from a tutorial site :lol:
|
lol, I have the c++ book that has that exact excersize.
-Z |
Duh, and you can't even write "endl;" correctly.
|
Nevermind that the cout has no stream insertion operators.
|
Quote:
|
Quote:
|
You would have had better luck if you voided main imo.
|
main always returns int.
|
Pls make a multiple Choice question with cin and cout ^^
|
#include <iostream>
#include <string> using namespace std; int main() { string answer; while (answer != "Y") { cout << "Should Kambic be the next EQEmu Developer?" << endl; cout << "Please type Y for 'Yes' or N for 'No':" << endl; cin >> answer; if (answer != "Y") { cout << "die irl plz" << endl; } } cout << "you are teh WIN !!!" << endl; return 0; } |
Quote:
|
All times are GMT -4. The time now is 06:10 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.