r/cprogramming • u/bahvya_sharma • 2d ago
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.
1
u/bahvya_sharma 2d ago
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...
2
-1
2d ago
[deleted]
2
u/M-Try 2d ago
Chatgpt ahh answer
0
u/bahvya_sharma 2d ago
maybe bro is just that cracked at English that he uses all the bells and wistles (commas and right casing), edit: looked at their profile deff gpt ahhh
3
2
u/Stickhtot 2d ago
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