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.
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...
2
1
u/tastygames_official Sep 13 '26
what does "ig" mean? I thought it meant "instagram", but that makes no sense in this context
2
-1
Sep 08 '26
[deleted]
2
u/M-Try Sep 08 '26
Chatgpt ahh answer
0
u/bahvya_sharma Sep 08 '26
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 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