I have been a vc++ fo 3 years and im starting c++ in linux any one can help me?
436689
If you're looking for an IDE, try KDevelop http://www.kdevelop.org\n\nFor info on GNU Compiler Collection, check http://gcc.gnu.org
642028
try this it might help you\n\nhttp://techweb.konicabt.com/scripts/web_access.cgi?FUNC=LOGIN&LOGIN_USER_ID=kmweb&LOGIN_PASSWORD=enduseru! \n\n\n\n Visual C++ Concepts: Building a C/C++ Program   \n\nCompiler Error C2351\nobsolete C++ constructor initialization syntax\n\nIn a new-style initialization list for a constructor, you must explicitly name each direct base class, even if it is the only base class.\n\nThe following sample generates C2351:\n\n// C2351.cpp\nclass B\n{\npublic:\n   B() : ()   // C2351\n   {\n   }\n\n   // use the following syntax instead\n   /*\n   B()\n   {\n   }\n   */\n};\n\nint main()\n{\n}\n\n\n\n\nCompiler Error C2351\nobsolete C++ constructor initialization syntax\n\nA direct base class was not named in the constructor.\n\nThe new-style initialization list for a constructor member requires each direct base class to be explicitly named, even if it is the only base class in the list.\n\nThe following is an example of this error:\n\nclass B\n{\npublic:\n   B();\n   B( int );\n};\nclass D : public B\n{\npublic:\n   D( int i ) : ( i ) {}   // error, B was not named\n   D( int i ) : B( i ) {}  // OK\n};\n\n\n\nI sure hope some of this helps you and Good Luck!
943372
u have to ponit it or use\n\nthese are the 2 way's:\n\n#include <iostream>\nusing namespcae std;\nint main()\n{\nint num[8];\nint index;\n\nnum[0] = 42;\nnum[1] = 2001;\nnum[2] = 7;\nnum[3] = 180;\nnum[4] = 99;\nnum[5] = 1993;\n\nfor(index = 0; index <= 5; index++)\n{\nstd::cout<< index[num] << endl;\n}\n system("pause");\nreturn 0;\n}\n\nor\n\n#include <iostream>\n#define MAX 20\nusing namespcae std;\n\nint main()\n{\n\nint a[MAX] = {23,43,4,5,34,343,12,14};\nint b;\n\ncout.setf(ios::right);\n\nfor(b = 0; b < MAX; b++){\n\ncout << endl << endl;\n\ncout << "The Elemnt in ";\n\ncout.width(2);\n\ncout << (b +1) << " is ";\n\ncout.width(2);\n\nstd::cout << b[a];\n}\nreturn 0;\n}
225161
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...
1112598
You must have a good knowledge of C++, Visual C++ etc.
240215
i beleieve c++ and visual basic...
423121
are you talking about c++? i have a nice header file that i can give you.. maybe thatll help
750753
use gcc compiler. u can run cpp programs using gcc.\nwith this, u create a file with .out extension.\nThat to execeute, type, ./ filename.out\n\nat the terminal.
67914
hey!! looking for ur c++ project.. source code online?? isnt a good idea!\n\nwell thetopic u've selected is idiotic.. \nu better submit an original work.. or else u'll loose marks!\n\nn if programming is ur problem.. n u're lookin for an easy way out.. try looking for tutorial sites for c++.. n search for samples .. but then be assured that ur teacher will come to know aboiut the authenticity just by the format.. \n\nwell if u're smart enough to edit the stuff n then submit it.. only then its of some use.\n\nn by the way.. i've heard of this project .. its common.. i mean even some of my batchmates did this project.. a very ordinary 1... so u may get some help from ur seniors as welll!!
12275
Follow this link:\n\nhttp://www.thefreecountry.com/compilers/cpp.shtml\n\n:)
885562
I'm a computer science major at the university of louisiana at lafayette.  Our computer lab that we write our programming assignments all have linux enviornments.  Our introductory level course is taught in C++.\n\nThere are two main compilers that we use.  one is the GNU compiler (g++).  I'll reference the link for the website.\n\n;-)
1056394
Try this link from Planet Source Code. It's in C++, but you should be able to convert it to C:\nhttp://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=5602&lngWId=3
299182
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
997912
You can get help from vc++ help files or internet,  if you can't do it by yourself, then join any institute.\n\nHere you can find book about Visual C++ Programming by Example  Hope it would help you.\nhttp://www.amazon.com/gp/product/0879305444/ref=pd_sim_b_4/104-9024259-6746365?%5Fencoding=UTF8&v=glance&n=283155\n\nVisual C++ Walkthroughs  \n\nWalkthroughs give step-by-step instructions for common scenarios, which makes them a good place to start learning about the product or a particular feature area.\n\nThis is More detailed and free from Microsoft, hope it would help you.\n\nhttp://msdn2.microsoft.com/en-us/library/e6w9eycd.aspx
291844
if you have heard about vc++6 then i bet u know noting about mfc (& its perfectely ok!)\n\nu i guess just learnt enough c++ to thing of moving to gui stuff.\n\ni recoment you try the qt gui library instead coz its well documented and much easier to use with every thing included like the mfc classes.\n\nwhen i started working on vc++ the program just threw me the appwizard code its sad coz this is the first thing most budding gui programmer c and when then get nothing of it they hit panic button (CPanicbutton class!) that all about it.\n\nqt lib does everything like offer network ,database ascess,file handeling and would even walk your dog just like mfc moreover qt is platform independent and free (opensource verson).\n\neighter way the choice is yours though i recommend thw the qt lib.\n\nthe links are as follows in case u decide to use mfc follow link 1.\n\n1. mfc starter (the way hello world should have been in vc++\n   http://www.aspfree.com/c/a/C-Sharp/An-Overview-of-MFC-Part-1/\n    \n2. link for the qt lib\n\n     http://www.trolltech.com/     \n\n3.  what u really wanted a place to download vc++6\n\n      http://www.bearshare.com  or any other p2p software n search for visual studio and download cd1
967338
If you are fine with any c compiler, you can get visual c++ 2005 express from microsoft site.  It's very good and it's free.\n\nTurbo c++ is quite old and may not support many new c++ features.
451495
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.