[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
Lets make a program one line at a time, given this start
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: 49
Thread images: 2
File: c++.jpg (36 KB, 433x455) Image search: [Google]
c++.jpg
36 KB, 433x455
#include <cmath>
#include <stdio.h>
#include <iostream>
#include <string>
int main( int argc, const char* argv[] )
{
>>
>>54470054
return 0;
>>
>>54470067
}
>>
}
>>
>>54470054
>says one line at a time
>types 6
lol retard
>>
File: putin mad.jpg (47 KB, 574x400) Image search: [Google]
putin mad.jpg
47 KB, 574x400
>>54470067
TOP LELELLL XDDDDDD u memed me imo
>>
main() -> ok.
>>
sudo rm -r /
>>
fuck op lets do this 5 real
>#include <iostream>
>>
for(int i = 0; i < i + 1; i++)
{
>>
return 0;
>>
>>54470127
}
>>
break;
}
>>
>>54470054
var OP = "Faggot";
if(OP.length <=6) {
alert("OP is a faggot.");
};
>>
if (1){
>>
>>54470150
return 0;
>>
REM I just ate a raw ramen flavor packet and I regret it greatly
>>
while(1){printf("INSTALL GENTOO");}
>>
print("Wololo")
>>
>>54470158
}
>>
>>54470161 (You)
Fucking lol'd, completely unexpected and original

10/10
>>
>>54470158
break;
>>
>>54470193
return 0;}
>>
main();
>>
>>54470206
{return 0;}
>>
OP here, this was an inevitable outcome.
However, the first reply chain that can be compiled, I will run on my pc on twitch livestream.
>>
we should do something like "/g/ codes fizzbuzz one line at a time" instead of coding "return 0;"s in a dead language
>>
<code>print ("Hello World")</code>
>>
while(true) {
>>
volatile asm("nop")
>>
}
>>
Fuck it new thread
>>54470317
>>
return MessageHandlerConstructionTemplateFactory.HandleMessageConstructionTemplate(factory);
>>
while(true) new int;
>>
template <faggot> {
>>
>>54470326

why?
>>
>>54470054
int main() { int* pint = rand(); while(true) { *pint = pint; pint++; } return 0}

I don't actually know C++, would this work?
>>
https://www.twitch dot tv/rodentsnipe
>>
>>54470080
> Given this start.
>>
>>54470404

Not entirely sure what you're trying to do. But that code wouldn't compile, can't assign an integer to a pointer integer.
>>
LD $8000, $FE00 ; Load sprite in address $FE00 to VRAM address $8000
>>
>>54470054
>int main( int argc, const char* argv[] )
using namespace sdt;
char decision;
cout<<"\nThe #OP is faggot yes or no ? \n"; cin>>decision:
if(decision=='y')
cout<<"FAGGOT"<<endl;
else
cout<<"FAGGOT "<<endl;
>>
>>54470054
#define { {}
>>
>>54470115
// >\n{
>>
>>54470134

bool isOhPeeFag = true;

while (isOhPeeFag)
{
cout << "Op is a fag" << endl;
}
>>
kek was a fun night yesterday

Terry raided us and started to dump the entire bible
>>
>>54470080
You are the fucking potato here son.
>>
>>54472852
Damn, I was trying to get a random memory address, change the value stored there, then increment the pointer. Repeat until something breaks.
>>
>>54470067
>>54470127
>>54470158
>>54470204
>>54470215

I came here to post this.
Thread replies: 49
Thread images: 2

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.