Actually I want to know how should i proceed from the very beginning say I have installed Microsoft Visual Studio 6  and I want to start programming VC++. How should I write a simple code for may be show the sum of two numbers in a edit box ,the two numbers being entered by a user/onyone in two respective edit boxes.I shall be grateful if you write the steps to be followed.
124517
vc++ is much more tougher to handle than it's compatriot : visual basic. As the saying goes: "vb is fun, vc++ is shit hard work!!".\n\nok..\ni'll give u da steps to create 2 edit boxes and to get the sum : )\n\nhere we go:\n\n1) open ms vc++\n2) go to file ->new and under the projects tab, select mfcappwizard (exe) , enter name and choose location to save project\n3) now, the wizard pops up.\nStep 1 : select dialog based  (since the addition thing is fairly simple, we'll go for this)\n4) press next for step 2 and once again for step 3 (which means u r accepting the default values in those steps).\n\nFinally, u get a dialog showing the summary of the application.\n\nif u have come till here..gooood!! u have created a "skeletal application" .. and this, buddy , is the true essence of MFC programming.\n\nok.. now that u have created the skeleton application , its time i teach u how to put two text boxes and if ya click a button, the sum would be displayed in another :::\n\n\n\n\n* now, on ur left, u should see a "workspace" window. its one containing a list of files in your application.\n\n* in that, select the resources tab (tab is found at bottom of workspace window)\n\n* open the tree listing. in that u would find a "dialog" sub tree\n\n* open that. and u would find a "IDD_..." thing . double click on that, and presto, u would get a blank dialog.\n\n* now, that blank dialog would be accompanied by a toolbox if u dont see the toolbox, right click on the toolbar on top of vc++ window, choose toolbox.\n\n* if u see the toolbox, good. now, choose the edit box (text box) and draw three text boxes on the dialog. now, choose the button and draw one button on the dialog.\n\n* the text boxes would have the name IDC_EDIT1 , IDC_EDIT2 and IDC_EDIT3 and button would be IDC_BUTTON1(u can see the names by right-clickin on the component and choosing properties.)\n\n* ok, now , go to view- > class wizard (a very very very important tool in vc++)\n\n* move to "member variables" tab. u can see the components that u have added.( if u have not, just try flickering with the drop down dialogs that u see there). \n\n* now, double click on IDC_EDIT1 and another small window appears , asking u the variable name it would ve already displayed "m_" DONOT remove the "m_" jus add something to it like : "m_number1" . repeat same for the other two edit boxes and make sure u remember the variable names.\n\n* u have come till here?? awesome!! ; )\n\n* now close the class wizard window.\n* double click on tha button and.. u get a prompt something like onbuttonclick (somethin like dat) ..whatever comes, press ok. and presto, u go into the coding wonderland.\n\n* remember the varible names ?? goood. and u kno how to put an addition statement?? awesome!! . jus do that.. eg: m_number3=m_number1+m_number2;\n\n*CAUTION : while giving variable names , make sure u <<CHOOSE THE int TYPE>>\n\n* phew.. take a break and come back cos u r gonna watch ur creation come to life ; )\n\n*goto project->build xyz.exe\n\n* wait till it completes compilation and shows the sweet words "0 errors 0 warnings" on the bottom window of the screen (watch window).\n\n* press ctrl+f5 and voila.. u get ur own summing application created using MFC and with help of appwizard,classwizard and moi, ANAND ; )\n\n\n\n\nIF u have encountered any problem anywhere enroute to success, worry - not. Send me a message Y! id: anand_87123\ny! mail : anand_87123@yahoo.com\nput the subject line as vc++ - Y! answer\n\nok??\n\nP.S : if ya feel i have helped ya, i dont mind my answer being voted as the best answer by u!!\n\nand also, i can prescribe 2 books for ya :\n1) MFC programming by JEFF PROSISE and \n2) David J Kruglinski, Scott Wingo :: "Programming Microsoft Vc++ Fifth edition"\n\nthey are available for download from da net (illegal ofcourse ... ; ) ) try searching
30797
The latest issue of Dr.Dobbs Journal has an article about Sudoku. They include source code for a program you can build that solves a lot of the puzzles.\n\nThis is a VC++/MFC project so you would have to build it using VC++, unless of course you just lift the algorithm and build your own framework to run it.
64460
make a scripting animation program similar to flash. this is what i created for my finals project.\n\nit goes something like this: you have two separate programs, one creates, edits and compiles the script file into an object file - or animation file, as i called it. the second program then reads the animation file, and does the object/picture manipulation as defined by your script.\n\nso basically, the first program is the compiler, while the second is the animator or animation virtual machine. i dubbed it virtual machine since the object file merely contains virtual instructions that are predefined and understood by the virtual machine, and all this "machine" does is manage the multiple executing virtual threads and emulate the instructions.\n\nhope this helps... =)\n\nedit :: i used ms visual basic 6 for both the compiler program and the animator program.
203298
Best and easy to use is Visual C++ Express 2005 (it's free)http://msdn.microsoft.com/vstudio/express/visualC/default.aspx\nand you can get complete information on Microsoft's Vc++ from http://msdn.microsoft.com/visualc/ infact there are video lessions and how Do I.. Guides at http://msdn2.microsoft.com/en-us/library/ms177549\n This will be the best compiler to use  as you are doing development in windows xp . As it will provide you with good API's (IT's a COMPILER + IDE)\nThere is another free compiler http://www.bloodshed.net/devcpp.html . It's a good compiler , if you want to be vendor neutral.\nThere is another free compiler called GCC (this is a GNU compiler (i.e Open Source and free too) you can get complete information on this from http://gcc.gnu.org\nand you can download the compiler from http://gcc.gnu.org/install/binaries.html\nWith this compiler you can do development on many operating systems with the same toolset.
62147
Chiya is wrong\nlinux was made with C and not C++\nwindows was made with C or C++ (not sure) But not visual C\nthat seems logical Visual C can only run under windows\nso how did they use it to make windows?\n\nAbout your question C++ alone won't help you alot\nyou theoretically  u can make any program with it but it will takes you long time\nu can use Visual C to speed things up or use Qt liberary to make cross platform C++ programs\n\nC++ could be very useful when making games with it, i am talking about real games\nI think it is the best in this field but still u will need to know DirectX Or OpenGL programming with C++ to be able to make games\n\nAlso with C++ u can make program that work on both DOS and Windows\nwhile programs with other languages like VisualBasic Or VisualC can only run under windows
600819
Hi,\ngo to the Webpage www.vbforums.com and check there your question. I am sure that this question is there already answered. It is the biggest vb-forum in the world. More then 40.000 programmers are in it (for example me)\n\nnice greetings
148387
Some tutorials I found are:\nhttp://cplusplus.com/doc/tutorial/ , \nhttp://www.zeuscmd.com/tutorials/cplusplus/index.php -- also has source code written specifically for Dev-C++ , \nand http://www.cprogramming.com/tutorial.html#c++tutorial\n\n\nHere is a program that prints out "Hello World":\n\n#include <iostream>\nusing namespace std;\n\nint main()\n{\ncout << "Hello World" << endl;\n\nsystem("pause");\nreturn 0;\n}\n\n\nAlso, http://koders.com/ is a source code search engine that you can use.
574772
You can always buy the software and learn it at home.  I think it will cost a lot of money though.  \n\nhttp://msdn.microsoft.com/visualc/learning/default.aspx\n\nOr you can Download the Free Visual C++ 2005 Express Edition.  Visual C++ 2005 Express Edition is a free, lightweight, easy-to-use, and easy-to-learn tools for the hobbyist, novice, and student developer.  \n\nhttp://msdn.microsoft.com/visualc/\n\nEnjoy learning!
485529
http://msdn.microsoft.com/vstudio/
330032
Check out the site at http://www.pscode.com - I don't do C++ but I use that site all the time for Visual BASIC stuff I work on.
269543
No need to learn C++ before VC++. They are basically identical, the biggest diference being that VC++ gives you the ability to program your GUI's visually. All the rest of VC++ is C++ (basically). \n\nYes it is possible to learn VC++ in 45 days, but it takes much longer to master it (same goes for C++). Knowing C will help you greatly.\n\nAs far as what launguage to learn (C++/VC++ or HTML) goes, it depends on what you want to do with your programming experience. If you want to go into web design then go for HTML. If you want to do user apps. then go for VC++.
91689
The quick answer is that you would know how to program in c++. I dont think most people would want to write that for you just to give an answer but you never know. \n\nTry using planetsourcecode and see if you can find something similar enough to modify...
282850
any visual XXX is Microsoft based.\nvisual basic, visual c++, visual Java(a flop) etc..\n\nif you are developing for microsoft based products..then learn visual c++. its powerful.\n\nIf your work is on unix, like systems programming, networks etc, then start with turbo C/C++, then you need to learn Unix C/C++ programming..
363385
Kindly go to www.allexperts.com\nChoose computing category. then Programming--Basic--Visual Basic\nYou can post your query there with one of the experts.\nThey will reply you free of charge
593048
http://www.cprogramming.com/tutorial.html\nhttp://www.cplusplus.com/doc/tutorial/\nhttp://visualcplus.blogspot.com/\n\nall taken from yahoo seach. you can search for c c+ tutorials and come up with hundreds if these don't do it for you.
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.
91887
A compiler (you may know) is the program that translates your C++ code into the language of ones and zeros that the computer understands.  As such, it does not have to look spiffy.  Ugly is okay.\n\nThere are some differences among compilers as to exactly how you use them, but the general idea goes like this.  You write your C++ program in an editor and save it to disk.  You tell the compiler where to find the program and it reads it and tries to translate it into machine language.  It fails because no one can write a perfect program the first time.  It gives you a list of errors it found.  You patiently go through the list and correct the errors as best you can, then try to compile the program again.  You keep repeating editing (debugging) and compiling until the program compiles.  Then, you find out that it doesn't do what you meant for it to do.  That is because there are still errors in the program.  You find the errors, correct them, and compile again.  You keep doing this over and over, and eventually, the program works the way you want it.\n\nYour first programs should be very, very, very simple.  I hope your book guides you in this direction.  The first program should do something like print "hello."  Once you get to that point you can enhance it.  It might ask you to input something, then output that.  You keep making more and more complicated programs, and eventually, you'll be able to program interesting stuff.\n\nGood luck!!\n\n=====================\n\nI searched google for open source compilers and the two that came out on top are linked below.  Maybe you would like one of those better.