11.07.2015 Views

tYSR20

tYSR20

tYSR20

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 1: Writing Your First C++ Program 13Figure 1-1:You mustuninstallearlierversions ofDev-C++before youbegin theinstallationprocess.2. If you don’t have to uninstall an old version of Dev-C++, skip to Step 4;if you do have to uninstall, abort the current installation process byclosing the Run window.Don’t get upset if you’ve never even heard of Dev-C++ and you still get thewarning message. It’s just a reminder.3. Okay, if you’re on this step, you’re uninstalling: Open the Dev-CPPfolder and double-click the Uninstall.exe file there.The uninstall program does its thing, preparing the way for the new installation;the End User Legal Agreement (commonly known as the EULA)appears.4. Read the EULA and then click OK if you can live with its provisions.Nope, the package really won’t install itself if you don’t accept. Assumingyou do click OK, Dev-C++ opens the window shown in Figure 1-2 and offersyou some installation options. The defaults are innocuous, with twoexceptions:• You must leave the Mingw compiler system. . . option enabled.• The Associate C and C++ Files to Dev-C++ option means that doubleclickinga .CPP file automatically opens Dev-C++ rather than someother program (such as Visual C++ .NET, for example). It is possible,but difficult, to undo this association.Don’t check this option if you also have Visual Studio.NET installed. Dev-C++ and Visual Studio.NET coexist peacefully on the same machine, butwhat Visual Studio has done, let no man cast assunder. You can still openyour .CPP files with Dev-C++ by right-clicking on the file and selecting OpenWith. Personally, I prefer to use this option, even with Visual Studio.NETinstalled. It doesn’t cause any problems, and Dev-C++ starts a lot fasterthan Visual Studio.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!