r/cprogramming • u/bahvya_sharma • Sep 08 '26
C on google collab
i had no idea that you could run c programs on google colab, i fucked around and found out ig
so basically what i did is i entered the terminal made a directory created a main.c file edited it using vim and compiled it using gcc and voila.
11
Upvotes
2
u/Stickhtot Sep 08 '26
It's a Linux machine, you can even install other packages too (They're using Debian, so APT). For example on runtimes with GPUs I sometimes use ffmpeg to process some videos
1
u/bahvya_sharma Sep 08 '26
i have zero idea what you would use this for and i have zero idea if all of you already knew already. but i guess now atleast i know that you can do this...
1
u/tastygames_official Sep 13 '26
what does "ig" mean? I thought it meant "instagram", but that makes no sense in this context
0
u/[deleted] Sep 08 '26
[deleted] — view deleted comment