C on Visual Studio


Question

I'm trying to learn C. As a C# developer, my IDE is Visual Studio. I've heard this is a good environment for C/C++ development. However, it seems no matter what little thing I try to do, intuition fails me. Can someone give good resources for how to either:

  • learn the ins and out of C in Visual Studio
  • recommend a better C IDE + compiler

Edit: See also: https://stackoverflow.com/questions/951516/a-good-c-ide

1
20
5/23/2017 11:54:57 AM

Accepted Answer

Answering the purely subject question "recommend me a better C IDE and compiler" I find Ming32w and Code::blocks (now with combined installer) very useful on windows but YMMV as you are obviously used to the MS IDE and are just struggling with C.

May I suggest you concentrate on console applications to get a feel for the language first before you attempt to tie it together with a windows UI which in my experience is the hardest bit of windows development.

11
8/26/2008 5:03:41 PM

well you can use visual studio just fine take a look at here man http://www.daniweb.com/forums/thread16256.html

Go to View Menu select Solution Explorer or CTRL+ ALT +L

Then Select The project that your are developing and right click on that.

Then select the Properties from the submenu.

Then select the Configuration properties from the Tree structure. under that select C/C++ then select Advanced. Now in the right side pane change the property

Compile As from Compile as C++ Code (/TP) to Compile as C Code (/TC)

Finally change your file extensions to .c

Now you configured you Visual Studio to compile C programs

And you can use NetBeans too it could even be more user friendly than Visual Studio download it you wont regret i promise


Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon