[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Let's write a C++ Program, one line per post. int main() {
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 34
Thread images: 1
File: cplusplus-logo.jpg (36 KB, 433x455) Image search: [Google]
cplusplus-logo.jpg
36 KB, 433x455
Let's write a C++ Program, one line per post.

int main() {
>>
>>55410072

public static void main(String[] args) {}
>>
goto 10
>>
No rules specified so.... This text included plus kgkdndbxkkfjdbfbdkbdb
>>
>>55410072
return 0; }
>>
>>55410072
while (true) {
>>
QDebug()<<":^)";}
>>
>>55410852
// TODO: everything
>>
int i = 1; int * ptr; while (1) { ptr = malloc(i); i++; }
>>
printf("%s\n", getpid() > 1 ? NULL : NULL);
>>
import aids
>>
hackNSA(WASHINGTON, "p4ssw0rd");
>>
std::cout << "What the fuck did you just fucking say about me, you little bitch? I’ll have you know I graduated top of my class in the Navy Seals, and I’ve been involved in numerous secret raids on Al-Quaeda, and I have over 300 confirmed kills. I am trained in gorilla warfare and I’m the top sniper in the entire US armed forces. You are nothing to me but just another target. I will wipe you the fuck out with precision the likes of which has never been seen before on this Earth, mark my fucking words. You think you can get away with saying that shit to me over the Internet? Think again, fucker. As we speak I am contacting my secret network of spies across the USA and your IP is being traced right now so you better prepare for the storm, maggot. The storm that wipes out the pathetic little thing you call your life. You’re fucking dead, kid. I can be anywhere, anytime, and I can kill you in over seven hundred ways, and that’s just with my bare hands. Not only am I extensively trained in unarmed combat, but I have access to the entire arsenal of the United States Marine Corps and I will use it to its full extent to wipe your miserable ass off the face of the continent, you little shit. If only you could have known what unholy retribution your little “clever” comment was about to bring down upon you, maybe you would have held your fucking tongue. But you couldn’t, you didn’t, and now you’re paying the price, you goddamn idiot. I will shit fury all over you and you will drown in it. You’re fucking dead, kiddo." << std::endl;
>>
int * just = NULL; cout << *just << endl;
>>
>>55411150
thats two lines kys
>>
>>55411176
if (anon.thinks(statements == lines)) anon.isIdiot();
>>
>>55411535
if (anon.thinks(two_lines != two_lines) || !anon.understands(statements)) anon.hasNoFutureInThisArea();
>>
Instal {gentoo}
>>
>>55410072
You didn't include anything...
>>
>>55411670
>needing headers
Nice bloat, Pajeet.
>>
int i = 0 // no semicolon :^)
>>
>>55411855
>using the smiley with a carat nose
>>
>>55410933
>using the smiley with a carat nose
>>
system("shutdown -s")
>>
>>55410072
whats the difference between c and c++
>>
>>55411784
Enjoy your lack of I/O.
>>
>>55412327
int theDifferenceBetweenCandCPlusPlus(int c)
{
return c - c++;
}
>>
the iteration operator ... badum tsss
>>
>>55412350
your program fails in all inputs, giving 0 for any input, rofl.

better stop being cheeky and answer my question.
>>
std::cout << "this \"program\" is an absolute shit-show. Thanks Oba- I mean Anon." << std::endl;
>>
Python hijacking the thread:

def coolfunction(x,y,z):
>>
>>55412453
>your program fails in all inputs, giving 0 for any input, rofl.
How does that count as "failing"?
>>
int* p = nullptr;
int ayy = *p;
>>
return 0;
Thread replies: 34
Thread images: 1

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.