How to compile C code using gcc

preview_player
Показать описание
Video covers compiling code in C.

Thank you
I hope it was useful!
Please consider leaving a like and Subscribe for more.
Also, feel free to leave a comment on any questions you have concerning this topic!

#coding #CProgramming #codingtips #shorts
Рекомендации по теме
Комментарии
Автор

Please share any other neat tricks you know

GodfredTech
Автор

gcc hello.c
bash: gcc: command not found

rip

SirXtC
Автор

So, is a.out for Unix systems because it sure isn’t an exe. Also on Linux don’t executables not have a file extension?

neon-original
Автор

I use windows sometimes when I do ./a.exe it's showing error like it contains virus or something and it deletes the a.exe file what should I do ;-;

vamsivardhan
Автор

gcc main.c -o main.out
or
gcc -c main.c -o main.o
&
gcc main.o -o main.out

really easy, but just write a makefile

IlliaZhdanov