0
I’m new to programming and I’m trying to use Visual Studio 2019 to write C codes. But for that I need to create a project/solution within the IDE, Something that does not suit me because I am at all times creating new files to test functions and solve problems and apparently, Visual Studio compiles an entire solution, not being able to execute files . c separately (from what I understand reading some articles is this, if I’m wrong, please let me know). I would like to run my codes only by browsing folders, but unfortunately my codes do not compile.
Searching, I was able to discover that it is possible to run Rpgs without the need for a project/solution (Microsft’s own website says so). However, in the article I read, they don’t explain how to do that. I also heard about Cmake who compiles the code but I couldn’t configure it for my machine. I tried also Mingw but also could not configure it to compile my codes.
How I can compile and run programs . c in Visual Studio 2019 without a project/solution?
See that
– Bernardo Lopes
are not want to use the IDE, install a compiler and Compile from the command line
– Ricardo Pontual