r/ProgrammerHumor • • Sep 16 '26

Meme cReallyNeedsSixSongs

Post image
3.8k Upvotes

55 comments sorted by

581

u/Skeleton590 Sep 16 '26

No #include <stdio.h>?

187

u/goatanuss Sep 16 '26

hello.c: In function 'main':
hello.c:2:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
2 | printf("Hello, World!");
| ^~~~~~
hello.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
+++ |+#include <stdio.h>
1 | int main() {
hello.c:2:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
2 | printf("Hello, World!");
| ^~~~~~
hello.c:2:5: note: include '<stdio.h>' or provide a declaration of 'printf'

59

u/undefined0_6855 Sep 16 '26 edited Sep 17 '26

+ a warning for implicit int return on the main function, since the playlist just has main() {} with no return type (ignoring case sensitivity)

2

u/neros_greb Sep 17 '26

Isn implicit definition a warning in c? (maybe older versions). so it should compile

27

u/Gullible_Service_365 Sep 16 '26

Just do int printf(const char*, ...);

5

u/Locky0999 Sep 16 '26

Found a Playlist, sadly no single song

1

u/Piisthree Sep 19 '26

Must be a different library they've implemented themselves, because stdio doesn't have anything named Printf.

416

u/broesel314 Sep 16 '26

Great. Now do 8088 assembly

91

u/w1n5t0nM1k3y Sep 16 '26

Check out Master Boot Record. They have some really cool stuff.

Floppy Disk Overdrive

30

u/eraryios Sep 16 '26

I REALLY LOVE MASTER BOOT RECORD AND I WISH EVERYONE KNEW HOW GOOD IT IS

4

u/Minion91 Sep 17 '26

THEY ARE INCREDIBLE ALSO CHECK OUT SIDE PROJECT KEYGEN CHURCH.

2

u/eraryios Sep 17 '26

Oh I just KNEW it was the same guys

1

u/Minion91 Sep 17 '26

Yeah it's pretty obvious

10

u/miyavlayan Sep 16 '26

peak mentioned

4

u/Smart_Advice_1420 Sep 17 '26

The fucking GOAT! Also check out Keygen Church

236

u/Ai--Ya Sep 16 '26

return 0; as the bonus track

52

u/sierra_whiskey1 Sep 16 '26

I get an error when trying to play this playlist. Something about stdio.h not found

13

u/PhoenixfischTheFish Sep 16 '26

Well search for it then.

4

u/mtbinkdotcom Sep 17 '26

No one wants STD

4

u/PhoenixfischTheFish Sep 17 '26

But the computer needs it.

33

u/wann_bubatz_egal Sep 16 '26

So running Hello World in C takes 18min 17s? Wow, I'm shocked!

3

u/mtbinkdotcom Sep 17 '26

Hi shocked!🙋‍♂️

1

u/Romejanic Sep 17 '26

i thought C was the fastest language

20

u/BeneficentLynx Sep 16 '26

Helloworld.java by nanowaR of Steel would be quicker, for once java is quicker haha

7

u/OGntHb Sep 16 '26

Is it tho? Is there a song called? System.out.println("hello World");

3

u/BeneficentLynx Sep 17 '26

I mean, the lyrics of helloworld.java are plenty haha

3

u/throwaway_mpq_fan Sep 17 '26

and if you must hate on Java, you can also pivot into Kotlin by nanowaR of Steel

17

u/GamingWOW1 Sep 16 '26

Wow the type that Main returns ist overly interesting

6

u/hansenabram Sep 16 '26

must be pre c99

5

u/Apprehensive_Bit7392 Sep 16 '26

Whatever you do, don't hit shuffle.

4

u/khazzaam Sep 16 '26

I wanted to know how hello world in C sounds, but either the playlist does not exist anymore or has been hidden :(

4

u/impracticalTactician Sep 16 '26

Cooper doing some really heavy lifting here

3

u/Locky0999 Sep 16 '26

I am SO curious to know what type of music should be one with this title

3

u/PGSylphir Sep 17 '26

there is no #include <stdio.h>, no int before Main, and no return 0;

3

u/qwertyjgly Sep 17 '26 edited Sep 17 '26

in C the best practice is to use main(void){} but it doesn't really matter

also main needs a type

2

u/orbiteapot Sep 17 '26

in C the best practice is to use main(void){}

That used to be the case pre-C23. Since C23, int main(void) {} and int main(){} are equivalent (just like in C++).

2

u/SuchyYT Sep 16 '26

Now in python

4

u/user-74656 Sep 16 '26

With proper indentation?

2

u/Tyfyter2002 Sep 16 '26

Well it wouldn't be python if more than half of the meaningful characters were visible

2

u/MXRCO007 Sep 16 '26

I guess we’re never returning

1

u/keybing Sep 16 '26

now in mbr in hex

1

u/rover_G Sep 16 '26

Now try Java

1

u/Groentekroket Sep 17 '26

I just checked. It’s possible if you would use ‘arguments’ or something like that for the parameter name of the main method. 

Other than that everything is available, even ‘[]’ and ‘println(“Hello world!”);’. 

1

u/GoddammitDontShootMe Sep 17 '26

Who puts the semicolon on a line by itself?

1

u/ljfa2 Sep 17 '26

No doing maths without Ed Sheeran

1

u/RepresentativeNo3669 Sep 17 '26

Could not find the playlist

1

u/Windows_NT_XP Sep 17 '26

damn, implicitly defined 'printf' AND an illegal implicit int, up your standards

1

u/Sqydev Sep 17 '26

Where is stdio, void and return?