Chatroom
Join the chat!
Chat room is currently: Functioning
Chat room is currently: Functioning
Who is online?
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest
None
Most users ever online was 116 on Mon Apr 12, 2021 3:54 am
Latest topics
2 posters
SImple DOS Quiz
Leidolfr- Posts : 274
Join date : 2009-08-17
Age : 37
Location : Woodstock, Illinois
- Post n°1
SImple DOS Quiz
Torvald- Posts : 161
Join date : 2009-08-17
Age : 37
- Post n°2
Re: SImple DOS Quiz
u mean "go back to ireland"
Torvald- Posts : 161
Join date : 2009-08-17
Age : 37
- Post n°3
Re: SImple DOS Quiz
- Code:
#include <iostream>
#include <stdlib.h>
using namespace std;
int main(int argc, char *argv[])
{
char mybuffer [100];
cout << "The Bridge of Doom\n\n";
cout << "What is your name? ";
cin.getline (mybuffer,100);
cout << "What is your quest? ";
cin.getline (mybuffer,100);
cout << "What is your favourite colour? ";
cin.getline (mybuffer,100);
cout << "You may pass. ";
cin.getline (mybuffer,100);
system("PAUSE");
return 0;
}
lol jk, this is total crap
Leidolfr- Posts : 274
Join date : 2009-08-17
Age : 37
Location : Woodstock, Illinois
- Post n°4
Re: SImple DOS Quiz
Torvald wrote:
- Code:
#include <iostream>
#include <stdlib.h>
using namespace std;
int main(int argc, char *argv[])
{
char mybuffer [100];
cout << "The Bridge of Doom\n\n";
cout << "What is your name? ";
cin.getline (mybuffer,100);
cout << "What is your quest? ";
cin.getline (mybuffer,100);
cout << "What is your favourite colour? ";
cin.getline (mybuffer,100);
cout << "You may pass. ";
cin.getline (mybuffer,100);
system("PAUSE");
return 0;
}
lol jk, this is total crap
lmao, a holy grail programming joke, had to happen
Leidolfr- Posts : 274
Join date : 2009-08-17
Age : 37
Location : Woodstock, Illinois
- Post n°5
Re: SImple DOS Quiz
Heres it is, non scrolling
- Code:
#include <iostream>
#include <stdlib.h>
#include <time.h>
using namespace std;
int main(int argc, char *argv[])
{
int a;
char mybuffer [100];
cout << "So, whats your name tough guy/dyke? ";
cin.getline (mybuffer,100);
cout << "Good to meet you " << mybuffer << " You Asshole/Bitch.\n";
cout << "What do you hate the most?[ Besides your Uncles touch.. ";
cin.getline (mybuffer,100);
cout << "Yeah, I hate " << mybuffer << " too, but I think your Uncles good in bed.\n";
cout << "...Did you just take off your pants?!?! ";
cin.getline (mybuffer,100);
cout << "Ugh..it smells...get away!\n";
cout << "(cough cough cough)\n";
cout << "Are you male or female?(type 1 for male, 2 for female)" << ".\n";
cin >> a;
if ( a == 1 )
{
cout << "You the man ( With Phallic issues, good for you!" <<"!\n";
}
/*else if ( a == 1.5 )
{
cout << "Ugh, transvestite. Go back to Bulgaria!";
}*/
else if ( a == 2 )
{
cout << "I bet you are hot, uhh....can I put it in you?" <<"!\n";
}
else
{
cout << "Oh, I see.. you are a moron. obvious douchebag is obvious" <<"..\n";
}
//cout << "Which is your favourite team? ";
http://cin.getline (mybuffer,100);
//cout << "I like " << mybuffer << " too.\n";
cout << "Have a nice day." <<"\n";
system("PAUSE");
return 0;
}
// lines r disabled code
Torvald- Posts : 161
Join date : 2009-08-17
Age : 37
- Post n°6
Re: SImple DOS Quiz
what sucks is that it might not work with other compilers than the one we use. I opened up a linux compiler and tried to compile my rpg and it errored out. unfixable. so yea either i stick with this shitty windows one or get something epic and learn it all anew.
|
|
Sat Sep 01, 2012 7:51 am by Moar!
» paracetamol overdose symtoms
Tue Aug 02, 2011 4:08 pm by Guest
» ????????????/
Sat Jul 30, 2011 1:36 pm by Guest
» hairextensions
Fri Jul 29, 2011 8:44 am by Guest
» I might make a proxy soon.
Tue Mar 16, 2010 8:42 am by Lazer_X
» Oh my god guiz.
Tue Nov 03, 2009 5:46 pm by Lazer_X
» HAPPY HALOWEEN.
Wed Oct 28, 2009 7:09 pm by wdonica
» I am better than didly12.
Thu Oct 15, 2009 4:00 pm by Zombieman
» This is just what I need...
Sat Oct 10, 2009 7:57 am by Lazer_X