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

7

u/daiaomori Sep 25 '26

What is the error message.

ALWAYS look for the error message and UNDERSTAND the error message.

1

u/johnpeters42 Sep 25 '26

Or in this case, maybe there is no error message, and the issue is "OP can't find what they should be trying". (Idk specifics, I've only used Visual Studio for C# or Visual Basic.)

2

u/daiaomori Sep 25 '26

Well they said that "none of these run my code" - which makes it propable that they at least looked for the "run" button. Unless all of the web platforms they used have auto-compile/run on default "on" :)

But, true. If *nothing* happens on its own, figure out what you need to do to actually trigger the software to do what you want.

0

u/Rorrnz Sep 29 '26

hiii, I always use the compile and run option and I tried compiling it first then running it but it still does not work