I am trying to learn C and C++. I use Microsoft Visual C++(from Microsoft Visual Studio 6.0) to write the program in C but i don't know how to run it/to execute the program and view the output.\n      can you help me hos to do that...and also can I ask for websites that teach programming in C or have tips for beginners?\n                     Thanks a lot!
203461
To compile it , ALT + F9, then F5 will execute it.
580694
Get a book to teach you C and then go from there. You can use a free compiler such as gcc to get you on your way.
493094
Try Bloodshed Software's version of C/C++ instead.  It's free just like Turbo C from Borland.\n\nhttp://www.bloodshed.net/devcpp.html
82313
http://www.cprogramming.com/tutorial.html - is a good online resource\n\nhttp://www.developer.be/forums/index.cfm/fuseaction/dsp_threads/forumid/16.htm - a forum that has c/c++ developers ready and able to help out.\n\nAlso use the MSDN library to get a lot of information.\n\nI've always liked the "bible books" it covers a lot of great info from begginers to advance: \nISBN: 0764546546 \n\nAlso the complete refference books are garet as well:\nISBN: 0078824761
639004
C++, hands down, is the best out there.  It's not by any means the hardest out there to use and professionals do not find it hard, despite what a previous answerer said.  There are much harder languages (assembler, anyone?) that really are hard.  C++ gives you tremendous flexibility and produces tight, fast code.  \n\nVisual Basic is right behind it on my list.  It's easier and you don't spend so much time on details.  The idea is that you never have to worry about exactly how the array or string or whatever is handled. Eventually, however, you're going to NEED to control one of those details.  This is where VB falls down.  It's easy at first, but eventually you end up fighting the language trying to control or modify something it does "for you".  With C++ there are libraries that do things for you, but you really can get behind the scenes and get the kind of control you need.\n\nThis is why professional programs are almost 100% C++.  Visual basic for custom programs and little shareware apps, sure, but C++ is what real programs are written in.\n\nHope this helps.
238799
I dont know that VB works on macs, being a microsoft language and all, but for C++, just search for a c++ mac IDE. Might want to learn java these days though, much easier than C++.
491998
Typically, games are designed in C++.  Sometimes only pure C.  Occasionally Java.  If you're considering a career in video game programming, I'd suggest picking up C first, then C++, not the other way around.  Mastering pointers in C helps you become a much more skilled programmer.  C++ gives you alternatives for when pointers frustrate you which can quickly develop into programming "crutches".
542704
It depends on your background. C++ has 2 main things that can cause problems for people. One is pointers, and the other is OOP.\n\nFor pointers I would recommend starting with Kernighan and Ritchie, if you have some programming experience. It is a little terse for a new programmer, but for experienced people that is desirable. It is about C, not C++, but the exposition of pointers is clearest.\n\nIf you do know C then Stroustrup's book is pretty good: http://amazon.com/s/ref=nb_ss_gw/103-4882347-1776613?url=search-alias%3Daps&field-keywords=stroustrup&Go.x=0&Go.y=0. You can pick and choose the chapters that you think you need most.
492727
this is more of a google question\n\nhttp://www.google.co.uk/search?hl=en&q=java+vs+c%23&meta=
380434
Sorry.... i guess ur question a lil tricky.... Well i am C++ prog and work on the VC++ platform...
396025
There are many good books like " Complete Reference to C++ " , " Let us C++ "....etc... First be perfect with the basic knowledge of C++ using these books.... Then try some simple projects by referring some other books like "C++ Projects" etc ... By that time you will automatically be a good programmer and thus you can try bigger projects that involve graphics like Game projects and software design etc...... I hope its not a bad explaination from me..... :)
167310
I was pretty used to using VS6 and updated at work in the last couple of years to VS.Net.   For C++ developers, it's a nice jump to the .NET IDE that really gets them access to rapid Windows development.   \n\nBut for VB developers, it's a big change.   This is because VB 6.0 lives in such a different environment than VB.Net.   Visual Studio.NET is a TRULY object oriented platform and many of the oddities about VB were removed to put all of the languages on the same playing field.  For more on this, check out some of the migration articles on the following link.\n\nIn fact, one of .NET's main advantages is Language independence.   You can develop and compile VB, C#, C++ and many other languages from the same IDE and even in the same project. \n\nAnyway, even with VB, once you get past the big change in the environment, you'll see that .NET is very powerful when compared to VS6.0.   Things like inheritance and .Net framework calls (instead of those clunky Win API calls) make a huge difference.\n\nFinally, for web development, VS.NET provides ASP.NET, which is a big improvement over ASP.  Now you have a framework to do true structured programming for the web.  And it can be as simple as dragging a control on a form and coding behind just like VB 6.
386746
I think u're more familiar with Windows XP operating system, load Turbo C++ IDE (Integrated Development Environment). It's the best-selling C-compiler in world. Or, if u're using Linux, then it contains built-in GCC-compiler.
640886
http://www.cprogramming.com/tutorial.html\n\nAlso try your local bookstore... try the Teach Yourself in 21 Days series by Sams.Net or any C++ books from O'Reilly.\n\nYou'll also need a compiler and an editor... there's some free stuff out there, and depending on the book you find, you may get some software with it. If you're a linux or other unix user, you probably already have everything you need.\n\nGood luck!
87241
C++ was built off of C.  Which is simpler is an ambigious question in that you would have to define "simpler."  Personally I prefer to work in C++ because of the functionalities provided by STL, however I can do everything in C, it is just more work.  For learning purposes C++ is a better place to start as it has built in memory managment so that you dont accidentaly overwrite something vital.  As for your second question C++ can not be compiled with a C compiler.  Thus the reason we have separate compilers.  Most things you do in C can be directly done in C++ however this is not true in the other direction.  I hope this helps.  If you decide to learn in C get a copy of "The C Programming Language" by Brian Kernighan (the creator of C), I use this book alot even for C++.  If you decide to go with C++ get "The C++ Standard Library" by Josuttis (the creator of STL).  Either way you made the right choice by avoiding Java.
628849
Well, If u ask me, I seggest u get away from VC++. Well, it's too confusing for nothing! I prefer using C++ and C#.net, I think C#.net is much more better than VC++ which can't give u anything special!\nBUT if u still wanna try learning VC++, I just know that the SAMS VC++ book sucks!... Don't try reading it!...\nGood luck ;)
94834
I am assuming C++ is ok?\n------------------------------\n#include <iostream>\nusing namespace std;\n\nint main(){\nint startVal, endVal, incr;\ncout << "Enter an Integer Start Value: ";\ncin >> startVal;\ncout << "Enter an Integer End Value: ";\ncin >> endVal;\ncout << "Enter a positive Integer increment: ";\ncin >> incr;\n\nwhile (incr < 0) { \ncout << "Negative value entered, &#92;nPlease enter a positive value: ";\ncin >> incr;\n}\n\ncout << "Celsius | Fahrenheit" << endl;\ncout << "--------------------" << endl;\n\nfor(int i = startVal; i < endVal; i += incr){\ncout << "  " << i << "   |   " << ((5.0/9.0) * (i - 32.0)) << endl;\n}\n\nreturn 0;\n}\n\n---------------------\nI didnt compile this but I am quite sure its all correct.  This is a rather simple piece of code but a good introdution to programming.  I really hope I didnt just do you homework for you.   Hope this helps.