[code]
#include <iostream>
using namespace std;
#include <string>
int main ( int argc , char* argv[] )
{
string repsonse;
cout << "I wonder if Garry thinks this is dumb?" << endl;
cout << "Do you Garry? ";
cin >> response;
cout << endl << "Garry's Response: " << response
return 0;
}
[/code]
[QUOTE=h2ooooooo;17546818]Line 1 failure: Short tag
Line 2 failure: Nothing called thisthread, you could've obviously made it either a function or a variable but no.
Line 3 failure: $gay isn't set to anything, since line 2 failed
Line 4 failure: Short tag is not really a valid start, hence there's no end[/QUOTE]
I dont really care to be honest.
[code]
#include <iostream>
using namespace std;
int main ()
{
char Answer;
cout << "I wonder, do I really give a fuck about this thread? I mean, this is kinda weird" << endl;
cout << "Giving a fuck today? (Y/N): ";
cin >> Answer;
if (Answer == 'Y' || Answer == 'y')
{
cout << endl << "Hell I guess I do give a fuck." << endl;
}
else if (Answer == 'N' || Answer == 'n')
{
cout << endl << "As I thought, this blows. Time for Second Life." <<endl;
}
else
{
cout << endl << "Guess I didn't feel like entering shit right into MY OWN " <<endl;
cout << "freaking code. Fail" << endl;
}
system("PAUSE");
return 0;
}
[/code]
[QUOTE=Fangz;17546480]01010100011010000110100101110011001000000110100101110011001000000110000100100000011100100110010101110000011011000111100100101110001000000100100101110100001000000111010101110011011101010110000101101100011011000111100100100000011000110110111101101110011101000110000101101001011011100111001100100000011011110111000001101001011011100110100101101111011011100111001100100000011100100110010101101100011000010111010001101001011011100110011100100000011101000110111100100000011101000110100001100101001000000110111101110100011010000110010101110010001000000111000001100001011100100111010001111001001001110111001100100000011100100110010101110011011100000110111101101110011100110110010100101110[/QUOTE]
[code]#include <iostream>
int main()
{
std::cout << "Was going to post that binary in binary but it would have made a fucking long post." << std::endl;
std::cout << "Also I am sad enough to write full code which should compile properly as well." << std::endl;
std::cout << "Although I'm not sure about the next line." << std::endl;
std::cin.get();
return 0;
}[/code]
[code]
#include <iostream.h>
using namepace std;
void main(void) {
cout << "Spot the (obvious) problems with my code." << "\n";
}
[/code]
[QUOTE=florian;17547594][code]
#include <iostream.h>
using namepace std;
void main(void) {
cout << "Spot the (obvious) problems with my code." << "\n";
}
[/code][/QUOTE]
[cpp]
#include <iostream>
#include <string>
void out(const std::string& message)
{
std::cout << "Message: " << message << std::endl;
}
int main(int argc, char** argv)
{
out("iostream.h is a C header, should be iostream");
out("void main(void) is incorrect, should be int main(int argc, char** argv) or int main()");
out("using namespace std; while not necessarily incorrect, is a waste since it imports the entire namespace into the global namespace");
out("\n while usable is less portable then it's counterpart, std::endl");
out("Hi")
}
[/cpp]
This is what happened when garry posts about the programming forum on his blog
[code]// Technically this is perfectly legitimate.[/code]
@ECHO OFF
: Penis
echo Oh hai guise
goto Penis
[code]
<?php
echo "What the fuck are you guys doing? This is sad on so many levels.";
?>
[/code]
[code]
function getNewPost( pid:Object ):Void
{
if ( pid.getContent == "Binary")
{
pid.ratePost( "box" );
}
}
[/code]
[code]
public class Main
{
public static void main(String[] args)
{
System.out.println("Meh.");
}
}
[/code]
Whats with the auto-dumb ratings again? Or is someone just rating everyone dumb?
I think someone is rating us dumb :saddowns:
[code]HAI
CAN HAS STDIO?
VISIBLE "Why hallo thar!"
KTHXBYE
[/code]
[url=http://en.wikipedia.org/wiki/LOLCODE]:v:[/url] <-
[CODE]default
{
state_entry()
{
llSay(0, "Guys, this is fucking stupid.");
}
touch_start(integer total_number)
{
llSay(0, "DONT TOUCH ME!");
}
}[/CODE]
[code]#include <iostream>
using namespace std;
char chars[]={' ','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};
const int diggits=5;
int idx[diggits]={8,5,12,12,15};
int main()
{
int i;
for(i=0; diggits>=i; i++)
{
cout<<chars[idx[i]];
}
cout<<endl;
system("pause");
}
[/code]
where is your god now?
[code]for(size_t i = 0; i < 0xFFFFFFFF; i++)
{
free((void *)i);
}[/code]
Sorry, you need to Log In to post a reply to this thread.