SHOW:
|
|
- or go back to the newest paste.
| 1 | #include <iostream> | |
| 2 | #include <string> | |
| 3 | #include <fstream> | |
| 4 | ||
| 5 | using namespace std; | |
| 6 | ||
| 7 | void omg(string& name) {
| |
| 8 | ofstream fuckyou; | |
| 9 | fuckyou.open("fuckyou.txt", ios::app);
| |
| 10 | //while(true) {
| |
| 11 | for (int x = 0; x < 50; x++) {
| |
| 12 | fuckyou << "Fuck you " << name << " "; | |
| 13 | } | |
| 14 | fuckyou << endl; | |
| 15 | } | |
| 16 | ||
| 17 | int main() {
| |
| 18 | string name; | |
| 19 | cout << "what the fuck is your name? "; | |
| 20 | cin >> name; | |
| 21 | ||
| 22 | if (name == "Lawrence") cout << "Access Granted!"; | |
| 23 | - | else for (int x = 0; x < 10; x++ ) cout << "\aFuck you " << name << endl; |
| 23 | + | else for (int x = 0; x < 10; x++) cout << "\aFuck you " << name << endl; |
| 24 | ||
| 25 | omg(name); | |
| 26 | ||
| 27 | cin.get(); | |
| 28 | return 0; | |
| 29 | } |