online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
/****************************************************************************** Online C++ Compiler. Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <iostream> #include <cstring> #include <stdlib.h> #include <conio.h> #include <stdio.h> #include <string.h> using namespace std; void clear() { cout << string( 100, '\n' ); } // PLEASE PLEASE PLESSE WATCH THIS VLOG WE PULLED AN ALL NIGHTER JUST FOR THIS PLEASE WATCH IT https://youtu.be/ixlnitUxE-I GUYS IM BEGGING YOU int main () { int menuchoice; int login; string userUsername; string userPassword; string name; int gamechoice; int rizzscore; int q1; int q2; int q3; int q4; int q5; string firstname; string crushname; cout << "WELCOME TO DO YOU GOT RIZZ(DYGR)!" << endl << "1) start game" << endl << "2) end" << endl << "Enter the number of your choice!" << endl; cin >> menuchoice; if (menuchoice == 1) { cout << "1) Create an account" << endl << "2) Continue as a guest" << endl; cin >> login; if (login == 1) { cout << "Enter your name!" << endl; cin >> name; cin.ignore (); cout << "Enter a username" << endl; cin >> userUsername; cout << "Enter a password" << endl; cin >> userPassword; cout << "Thanks for creating an account! You're officially a Rizzard of Oz " << name << "!" << endl; } else { } cout << "DYGR has many game modes, choose your favorite!" << endl; cout << "1) Do you got rizz" << endl << "2) Love calculator" << endl << "3) Celeb Crush (COMING SOON)" << endl << "4) Dating Simulator(COMING SOON)" << endl << "5)Papa's Rizzeria" << endl << "8) ???" << endl; cin >> gamechoice; switch (gamechoice) { case 1: clear(); cout << "WELCOME TO DO YOU GOT RIZZ!" << endl << "This is a test to see how much rizz you have! Answer the questions honestly ;))" << endl; cout << "QUESTION 1: How do you get to dpark?" << endl; cout << "1) the dpark 141 bus" << endl << "2) i drive myself" << endl << "3) i dont go to dpark anyways" << endl << "4) what's dpark?" << endl; cin >> q1; if (q1 == 1) { rizzscore = rizzscore + 100; } else if (q1==2) { rizzscore = rizzscore + 50; } else if (q1 == 3) { rizzscore = rizzscore + 25; } else { rizzscore = rizzscore + 0; } clear(); cout << "QUESTION 2: How many hours do you spend in your room daily?" << endl; cout << "1) 1-3 hours" << endl << "2) 4-6 hours" << endl << "3) 7-9 hours" << endl << "4) 10+ hours" << endl; cin >> q2; if (q2 == 4) { rizzscore = rizzscore + 100; } else if (q2==3) { rizzscore = rizzscore + 50; } else if (q2 == 2) { rizzscore = rizzscore + 25; } else { rizzscore = rizzscore + 0; } clear(); cout << "QUESTION 3: How do you like your socks?" << endl; cout << "1) High" << endl << "2)Mid" << endl << "3) Short" << endl << "4) No show / I raw dawg the floor" << endl; cin >> q3; if (q3 == 1) { rizzscore = rizzscore + 0; } else if (q3==2) { rizzscore = rizzscore + 10; } else if (q3 == 3) { rizzscore = rizzscore + 25; } else { rizzscore = rizzscore + 100; } clear(); cout << "QUESTION 4: Who's your favorite song artist?" << endl; cout << "1) Lana del rey" << endl << "2)The weeknd" << endl << "3) Harry styles" << endl << "4) None of the above" << endl; cin >> q4; if (q3 == 1) { rizzscore = rizzscore + 100000000; } else if (q3==2) { rizzscore = rizzscore + 500; } else if (q3 == 3) { rizzscore = rizzscore -1000; } else { rizzscore = rizzscore + 0; } clear(); cout << "QUESTION 5: What does your name start with?" << endl; cout << "1) W, S, G" << endl << "2)A, E, O" << endl << "3) F, U, B" << endl << "4) None of the above" << endl; cin >> q5; if (q3 == 1) { rizzscore = rizzscore + 1000; } else if (q3==2) { rizzscore = rizzscore + 100; } else if (q3 == 3) { rizzscore = rizzscore -100; } else { rizzscore = rizzscore + 0; } clear(); if (rizzscore <= 100) { cout << "L bozo, you have ZERO RIZZ!" << endl; } else if (rizzscore<= 500) { cout << "Lol, u have mid rizz. Get better!" << endl; } else if (rizzscore <= 5000) { cout << "W rizz! But remember, there's always room for improvement." << endl; } else if (rizzscore <= 1000000) { cout << "UR THE ONE AND ONLY RIZZARD OF OZ, A RIZZASAURUS REX, I WISH I WAS U!" << endl; } break; case 2: clear(); cout << " WELCOME TO THE LOVE CALCULATOR! a simple, 1 question test to see WHICH CSO exec you're most compatible with" << endl; cout << "QUESTION 1) DO YOU HAVE A PERM? " << endl << "1) YES" << endl << "2) NO" << endl << "3) my hair is naturally curly! :) " << endl << "4) My name is Kelly Zhou."<< endl << "5) I'm perfect just the way I am." << endl; cin >> q1; if (q1 == 1) { cout << "Congrats(?) youre most compatible with avik... prayin for u" << endl; } else if (q1== 2) { cout << "Congrats!! Youre most compatible with drishti :) # slay" << endl; } else if (q1==3) { cout << "im so sorry for ur loss ur most compatible with sachi :( (Winnie says i love you)" << endl; } else if (q1==4) { for (int i = 0 ; i<=50; i++) { cout << "My name is Kelly Zhou. My name is Kelly Zhou. My name is Kelly Zhou."; } } else { cout <<" Congrats!! Youre most compatible with lillian! #girlboss" << endl; } break; case 5: clear(); cout << "WELCOME TO PAPAS RIZZERIA! Need a way to ask someone out for valentines, look no further!" << endl; cout << "Type your first name here!"; cin >> firstname; cout << "Type your crush's first name here!"; cin >> crushname; int love; srand(time(NULL)); love = rand() % 3 + 1; enum men {Sweet = 1, Scary = 2, Sob = 3}; switch (love) { case Sweet: cout << "My Dearest " << crushname << " ,I love you more than I could ever express in a few words. I long to be with you as I feel the happiest when I am in your arms. You are the most incredible thing that has ever happened to me and I treasure you more than you know. When I look into your eyes, my dear, I am lost in a world of magic. I love you. I love you each and every day. I love you more than words can say." << endl << "Happy Valentine’s Day Yours forever," << firstname << endl; break; case Scary: cout << "hey " << crushname << ":) i know where u live! :) date at ur house later tonight! :)" << endl << "xoxo, " << firstname << endl; break; case Sob: cout << crushname << "ITS ME " << firstname << "PLEAPSELPSLEPALSEPLASPELPELPLEPLPLPLPLEAPSESEE DATE ME PLEASEEEE DATE MEEPLEASEEEEEE DATE PLEASE DATE ME OR ILL DIE PLEASE I NEED U" << endl; break; } case 8: clear (); for (int i = 0; i <=8888; i++) { cout << "Winnie likes Avik. "; } } } return 0; }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue