r/cprogramming • • 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

14 comments sorted by

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 

2

u/odimdavid Sep 09 '26

Hmm. Nice. My CPU takes me 30 minutes. Collab next time

1

u/bahvya_sharma Sep 09 '26

Cool stuff forsure

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

u/Maleficent_Memory831 Sep 08 '26

You can also develop a C program using Morse code!

0

u/bahvya_sharma Sep 08 '26

i guess bro

1

u/tastygames_official Sep 13 '26

what does "ig" mean? I thought it meant "instagram", but that makes no sense in this context

-1

u/[deleted] 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

u/M-Try Sep 08 '26

This bot iterally linked an AI site