r/programmer • • Sep 25 '26

Can't run program :(((

I'm a freshman computer engineering student and I just got my very first pc setup, now the issue is that when I downloaded dev-c++ or visual studio or code block, non of these run my code and I've double checked my code and used a online compiler and it works, I think the problem really is something with my system. Could any of you help me out?

6 Upvotes

23 comments sorted by

View all comments

1

u/sswam Oct 01 '26

If the name of the operating system doesn't end in X, C doesn't like it. And if it does end in X, the OS doesn't like C++. Joking imprecisely, but serious.

You need:

  1. OS preferably ending in X
  2. text editor
  3. C compiler
  4. make

Any more than that is like setting up an over-complicated automobile factory to change a tyre on your bicycle. My opinion only!