[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
In the most unnecessarily complex method, write a program that

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

Thread replies: 24
Thread images: 2
File: 1450998373303.jpg (112 KB, 500x340) Image search: [Google]
1450998373303.jpg
112 KB, 500x340
In the most unnecessarily complex method, write a program that calls OP a fag.
>>
>>52355170
You're a faggot

brought to you by human brain and thousands of years of evolution
>>
>>52355170
go post on /fit/
>>
implicit none

write ( *, '(a)' ) ' OP is a faggot!'

stop
end
>>
print "ur a fag"
>>
just about anything in Java should do it
>>
in php

OP is a fag.
>>
posting on 4chan will deterministically get you called a fag
incidentally the process is powered by interneuron synapsing so there you go.
You faggot.
>>
<?php echo "OP is a faggot"; ?>
>>
Go in cmd type tree and just type anything after you want. Congrats your a hacker
>>
>>52355170
x = "op is a fag"
for i in range(x):
print(x[i])
>>
>>52355289
unnecessary syntax
>>
>>52355170

I keep failing on the captchas-- says something like

<code>
java.io.FileNotFoundException: input.txt
at java.io.FileInputStream.<init>(FileInputStream.java)
at java.io.FileInputStream.<init>(FileInputStream.java)
at ExTest.readMyFile(OPIsAFag.java:19)
at ExTest.main(OPIsAFag.java:7)
</code>
>>
In java
public class OpIsFag {
int OP=1;
do {
System.out.println(OP is Fag)
} while (OP == 1);

}
>>
.data
hello: .asciiz "OP is a fag"

.text
main:
la $a0, hello
li $v0, 4
syscall
li $v0, 10
syscall


MIPS Assembly.
>>
File: 1450846939367.gif (2 MB, 540x304) Image search: [Google]
1450846939367.gif
2 MB, 540x304
print "OP is a faggot"


ez
>>
>>52355335
you're supposed to use [] for the code tags
java.io.FileNotFoundException: input.txt
at java.io.FileInputStream.<init>(FileInputStream.java)
at java.io.FileInputStream.<init>(FileInputStream.java)
at ExTest.readMyFile(OPIsAFag.java:19)
at ExTest.main(OPIsAFag.java:7)
>>
using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;

namespace Hello
{
public static class HelloWorld : Object
{
public static readonly letters = "abcdefghijklmnopqrstuvwxyz"
public static System.Collections.Generic.IEnumerable<char> getCharacters()
{
foreach(int i in Enumerable.Range(0,letters.Length))
{
yield return letters[x];
}
}
public static int main(string[] args)
{
foreach(char chr in getCharacters())
Console.Write(chr);
return 0;
}
}
}
>>
>>52355511
nigga that just prints the alphabet
>>
>>52355170
#include <iostream>

void take_a_chance() {
void* level;
if (level > 9000) {
throw "OP is a faggot";
}
}

int main() {
try {
while (1) {
take_a_chance();
}
}
catch (char const* s) {
cout << s <<;
}
}
>>
>>52355252
This was oldstyle Fortran 77 btw
>>
>>52355170
public class Main{
public static void main(String[] args){
StringBuilder sb = new StringBuilder();
String[] dank = new String[]{"O", "P", " ", "i", "s", "a", "f", "g", "."};
int[] memes = new int[]{0,1,2,3,4,2,5,2,6,5,7,8};
for(int i = 0; i <= memes.length; i++){
sb.append(dank[memes[i]]);
}
System.out.println(sb.toString());
}
}
>>
Python:

import OPisafag

OPisafag()
>>
>>52355722
>old style
>77
Thread replies: 24
Thread images: 2

[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.
If a post contains illegal content, please click on its [Report] button and follow the instructions.
This is a 4chan archive - all of the content originated from them. If you need information for a Poster - you need to contact them.
This website shows only archived content and is not affiliated with 4chan in any way.
If you like this website please support us by donating with Bitcoin at 1XVgDnu36zCj97gLdeSwHMdiJaBkqhtMK