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'
582
u/Skeleton590 Sep 16 '26
No
#include <stdio.h>?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
236
u/Ai--Ya Sep 16 '26
return 0;as the bonus track52
u/sierra_whiskey1 Sep 16 '26
I get an error when trying to play this playlist. Something about stdio.h not found
33
u/wann_bubatz_egal Sep 16 '26
So running Hello World in C takes 18min 17s? Wow, I'm shocked!
20
u/BeneficentLynx Sep 16 '26
Helloworld.java by nanowaR of Steel would be quicker, for once java is quicker haha
17
u/GamingWOW1 Sep 16 '26
Wow the type that Main returns ist overly interesting
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/SuchyYT Sep 16 '26
Now in python
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/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?