Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C on Visual Studio [closed]

Tags:

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

like image 587
Dinah Avatar asked Aug 26 '08 16:08

Dinah


People also ask

Can you write C in Visual Studio?

Visual Studio Code is a lightweight, cross-platform development environment that runs on Windows, Mac, and Linux systems. The Microsoft C/C++ for Visual Studio Code extension supports IntelliSense, debugging, code formatting, auto-completion. Visual Studio for Mac doesn't support Microsoft C++, but does support .

How do I keep the console open in Visual Studio?

To keep the console window open in Visual Studio without using the Console. ReadLine() method, you should run the application without debug mode by pressing Ctrl+F5 or by clicking on the menu Debug > Start without Debugging option. This way the application remains active below until the user presses a key.


1 Answers

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

like image 105
MehranNZ Avatar answered Sep 18 '22 15:09

MehranNZ