5-installing an integrated development environment (ide)
DESCRIPTION
IDE installastionTRANSCRIPT
-
0.5InstallinganIntegratedDevelopmentEnvironment(IDE)BYALEX,ONMAY28TH,2007
Asmentionedintheprevioussection,anIntegratedDevelopmentEnvironment(IDE)containsallofthethingsyouneedtodevelop,compile,link,anddebugyourprograms.Soletsinstallone.
Theobviousquestionis,whichone?.KeepinmindthatyoucaninstallmultipleIDEs,sothereisnowrongdecisionhere.Duringthecourseofthesetutorials,wewillbeshowingyousomeofthenicefeaturesofyourIDE,suchashowtodointegrateddebugging.AllofourexampleswillbedoneusingbothMicrosoftsVisualC++(forWindows),andCode::Blocks(forLinuxorWindows).Thuswehighlyrecommendyoupickoneofthese.
However,ifyouwouldliketotryadifferentIDE,youarefreetodoso.TheconceptsweshowyouwillworkforanyIDEhowever,differentIDEsusedifferentkeymappingsanddifferentsetups,andyoumayhavetodoabitofsearchingtofindtheequivalentofwhatweshowyou.
Windows
IfyouaredevelopingonaWindowsmachine(asmostofyouare),thenyouhavetwochoices:
1)Ifdiskspaceand/ordownloadsizearenotaconstraint,thenwerecommendVisualStudioCommunity2015.Wheninstallingthisversion,youllneedtodoaCustominstallationandchooseProgrammingLanguages>VisualC++,astheC++compilerisnotinstalledbydefault.YoucanalsounchecktheWindowsandWebDevelopmentcheckbox.
-
2)Ifdiskspaceand/ordownloadsizeareachallenge,thenwerecommendMicrosoftsfreeVisualStudioExpress2013forWindowsDesktop.Whenasked,choosewdexpress_full.exeandrunit.
TheinstallerthatyoudownloadoffofMicrosoftswebpageisactuallyadownloader.Whenyourunit,itwilldownloadtheactualIDEfromMicrosoftandinstallit.
Note:ThistutorialwasoriginallywrittenwhenMicrosoftwasdistributingthe2005versionofVisualC++.Consequently,allreferencesandscreenshotsaretargetedtothatversion.Runninganylaterversions(suchas2008,2010,2013,2015,etc)arefine,however,yourscreensmaylookslightlydifferent.
LinuxorWindows
IfyouaredevelopingonLinux(oryouaredevelopingonWindowsbutwanttowriteprogramsthatyoucaneasilyporttoLinux),werecommendCode::Blocks.Code::Blocksisafree,opensource,crossplatformIDEthatwillrunonbothLinuxandWindows.
-
Windowsusers,makesuretogettheversionwithMinGWbundled.
Alternately,somepeopleprefertouseBloodshedsDevC++,whichalsorunsonbothWindowsandLinux.
MacOSX
MacuserscanuseXcodeifitisavailabletoyou,orEclipse.EclipseisnotsetuptouseC++bydefault,andyouwillneedtoinstalltheoptionalC++components.
Movingon
OnceyourIDEisinstalled(whichisoneofthehardestthingsthistutorialwillaskyoutodo),youarereadytowriteyourfirstprogram!
0.6Compilingyourfirstprogram
Index
0.4Introductiontodevelopment
Sharethis:
Email Facebook 33 Twitter Google Pinterest
C++TUTORIAL| PRINTTHISPOST
122commentsto0.5InstallinganIntegratedDevelopmentEnvironment(IDE)
GrantJanuary18,2008at12:22pmReply
IwillbeinstallingXCodeonmyMacASAP!
(doesanyonereadthesethings?)
AlexJanuary20,2008at8:55pmReply
Ireadallthecomments.
jestuartFebruary19,2008at11:40amReply