- 2,163
- 191
I will take Intro to C programming this semester and can I use MVS for coding C ?
The discussion revolves around the use of Microsoft Visual Studio (MVS) for coding in C, particularly for beginners taking an introductory course. Participants explore various aspects of using MVS, including installation, compatibility, and alternative IDEs.
Participants generally agree that MVS can be used for C programming, but there are multiple competing views regarding the best IDEs and setups for beginners. The discussion remains unresolved regarding the optimal configuration and potential issues with MVS.
Participants express varying levels of comfort with installation processes and configurations, indicating that some may find the setup of MVS or alternatives complex. There are also references to specific technical details that may require further clarification.
This discussion may be useful for beginners in C programming, educators looking for IDE recommendations, and those interested in understanding the differences between various development environments.
Yes. I use it for both C and C++ programs.Arman777 said:I will take Intro to C programming this semester and can I use MVS for coding C ?
I haven't heard of anyone having something go wrong when they downloaded Vis. Studio.Arman777 said:Is it possible that it can harm my computer If I do smthing wrong in the downloading process ? How can I download and run it safely ?
İnstructor shared a link for to run C in MinGW. But I couldn't download it from there cause its too complex .Mark44 said:I haven't heard of anyone having something go wrong when they downloaded Vis. Studio.
Arman777 said:I will take Intro to C programming this semester and can I use MVS for coding C ?
Arman777 said:İnstructor shared a link for to run C in MinGW. But I couldn't download it from there cause its too complex .
http://mingw.org/wiki/Getting_Started
"After installation you will need to perform some additional tasks yourself to ensure your MinGW applications will run. Most importantly, you will need to make changes to your PATH environment variable. Be careful: there are two PATH variables which can be changed, and changing the wrong one can have significant consequences. Instructions for changing the correct PATH variable are provided below."
And many more warnings etc. I guess there's no such needs in MVS
verty said:I installed VC++ because I wanted to see how easy it was to set up but I can't get it to work right either. For example, I tried to #include <stdio.h>; and it complains, but #include <cstdio>; doesn't.
QuantumQuest said:Assuming that you have installed the Visual C++ redistributable for Visual Studio 2017, you can create "New Project" > "Visual C++" > "Win32 Console Application" >"Next" > "Console Application" and "Empty Project". Now, click "Finish" and add a new source file from the relevant menu and give your source file name the .c extension, ignoring the options displayed. Hope this helps.
As for <cstdio>, it includes <stdio.h> and adds the associated names to the std namespace. Here's the relevant Microsoft web page.
Once you have loaded your project in VS, open Solution Explorer, if you don't already have that as a pane that is showing. To open the Solution Explorer pane, under View, click Solution Explorer.verty said:@Mark44, can you elaborate on what settings need to change to enable C in the most compatible way possible? Thanks.
Just FYI, C coding is what MVS started with and it has never been left out. As for installations, I've installed many versions on several different machines and have never had the least bit of problem. It's really wonderful that MS now gives away the full version to individuals. I've paid out quite a bit for versions over the years (I've been using it from the beginning) and I was delighted when I found that it's now free.Arman777 said:I will take Intro to C programming this semester and can I use MVS for coding C ?