IDE?

Pages: 12
Sorry. I have my c code and all of the necessary header files in a directory. So what i am expected to do to be able to run my code?
You have to go to "File -> New -> Project" and then create a new empty project. Then right click the new project on the left hand side, and select "Add -> Existing Item". Then you just add all the source files (and header files) to the new project.

After that you should be able to go to "Debug -> Start Debugging".

[edit] Or "Debug -> Start without Debugging" (but you may need to add this option to the menu via "Tools -> Customise" first).
Last edited on
Thank you very much for your help. Can you please let me know how to see errors?
Sorry. Where can I find traditional header files for the C language , i.e. "stdio.h" , "math.h" etc. , ?
They come with Microsoft Visual C++. Unless you are talking about compiling someone else's code, or your old code, I would recommend you use the C++ headers instead :)
Sorry. Why I cannot find 'graphics.h" under my "C:\Program Files\Microsoft Visual Studio 9.0\VC\include" folder?
Because graphics.h is not standard C or C++ header, you can google for it though, there are some variants, but you should check your source first.
My guess is the graphics.h that comes with Borland's Turbo C
Let me to re-phrase my question :"Where can I find sample c++ graphics codes (i.e make a pallet and color it and make simple drop-down menu) that can be run on my MS Visual Studio?"
There are a lot of sites for that, for example:
http://msdn.microsoft.com/en-us/library/ff381399%28v=VS.85%29.aspx
http://www.functionx.com/win32/index.htm
...just use Google :)

although judging from your previous posts, I think you should start from C or C++ basics, and buy a good book
On Borland C, there was a complete help on how to make a palette and select the color and so make a drop-down menu to sense the mouse key stroke and say build a menu like "File -> Save".
How can I try for the same on my MS Visual Studio?
That depends on your version of MSVC++, the paid version will have MFC to make the tasks simpler and online MSDN Help that gives code samples etc. If you're using the free MSVC++ then you'd have to make do with Win32 API coding.
As an alternative, may suggest Qt? http://doc.qt.nokia.com/4.7/index.html
Sorry. What is a good book as C++ reference ?
As a reference (that is, not something to learn from, but something to refer to) I have found the nutshell books to be pretty handy (i.e. "C++ In a Nutshell").
Can you please let me know about "Something to learn from" as well?
Topic archived. No new replies allowed.
Pages: 12