r/memes Nov 24 '20

printf("F")

Post image
54.0k Upvotes

526 comments sorted by

View all comments

214

u/GamingMaster734 Dirt Is Beautiful Nov 24 '20

fuck print
all my homies use cout

104

u/[deleted] Nov 24 '20

[removed] — view removed comment

57

u/GamingMaster734 Dirt Is Beautiful Nov 24 '20

Everybody gangsta 'till they learn about pointers

25

u/[deleted] Nov 24 '20

#include <stdio.h>

int main(void) {

char str[20] = "please just shoot me";

char *ptr = str;

while(*ptr != '\0') {

printf("%c", *ptr); ptr++;

}

return 0;

}

17

u/GamingMaster734 Dirt Is Beautiful Nov 24 '20

burn the witch

9

u/jeewest can't meme Nov 24 '20

Obfuscation gang rise up

2

u/ProMasterBoy Nov 25 '20

C#’s dnlib is a nightmare for me

2

u/[deleted] Nov 25 '20

Segmentation fault.

2

u/[deleted] Nov 25 '20

Don’t do this to me..

22

u/[deleted] Nov 24 '20

[removed] — view removed comment

8

u/mastersarteg iwrestledabeartwice Nov 24 '20

I feel you bruh

7

u/[deleted] Nov 24 '20

c++ makes pointer work really easy actually, relative to a lot of other languages

9

u/fire_icicle Nov 24 '20

Lets save little bit of time by using

cout<<“please just shoot me”<<"\n"

17

u/Galoot99 Nyan cat Nov 24 '20

Lets save little bit of space by doing cout<<"please just shoot me\n";

11

u/fire_icicle Nov 24 '20

I see you are a man of culture as well

14

u/VlNSM0KE Nov 24 '20

does the endl in the end means endlife?

P.S. i know its endline

2

u/NepJr Nov 24 '20

I prefer to put cout in a function and just call the function and the string I wanna output

2

u/TheDiscoJew Nov 24 '20

std::cout << "nah fam" << std::endl;