12.12.2012 Views

Teach Yourself Borland C++ in 14 Days - portal

Teach Yourself Borland C++ in 14 Days - portal

Teach Yourself Borland C++ in 14 Days - portal

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.

362 Day 10<br />

TIP<br />

The Project Explorer w<strong>in</strong>dow is a W<strong>in</strong>dows tree view, and as such<br />

has the same characteristics as most tree views. Specifically, you can<br />

change the text of a particular item <strong>in</strong> the Project Explorer by click<strong>in</strong>g<br />

once on the item to select it and click<strong>in</strong>g aga<strong>in</strong> to beg<strong>in</strong> edit<strong>in</strong>g. This is<br />

called <strong>in</strong>-place edit<strong>in</strong>g. By us<strong>in</strong>g this method you don’t have to use the<br />

Rename item on the speed menu at all. If you attempt to change the<br />

name of an item that cannot be changed via the Project Explorer (a<br />

source file, for example), the results of the <strong>in</strong>-place edit will be ignored.<br />

Delete<br />

The Delete item on the Project Explorer speed menu does exactly as its name <strong>in</strong>dicates. If you<br />

select an object <strong>in</strong> the Project Explorer and choose Delete, that object will be removed from<br />

the project.<br />

WARNING<br />

Be careful when delet<strong>in</strong>g objects from the Project Explorer w<strong>in</strong>dow.<br />

The Project Explorer does not have an Undo or Undelete option, so if<br />

you delete an object via the Project Explorer by accident, you will have<br />

to close the project without sav<strong>in</strong>g it and then reopen the project.<br />

The Project Explorer is one of those features that is easy to overlook. Spend some time with<br />

the Project Explorer and I’m sure you’ll f<strong>in</strong>d it a useful feature <strong>in</strong> application development.<br />

Understand<strong>in</strong>g Project Options<br />

Project options are another of those th<strong>in</strong>gs that are easy to ignore. For one th<strong>in</strong>g, the defaults<br />

are usually good enough when you are just start<strong>in</strong>g out. After all, who has time to worry about<br />

all those compiler/l<strong>in</strong>ker options when you are just struggl<strong>in</strong>g to learn a new programm<strong>in</strong>g<br />

environment? At some po<strong>in</strong>t, though, you will start to become more <strong>in</strong>terested <strong>in</strong> what all<br />

those options do, and it’s good to have some reference when the time comes.<br />

In this section we’ll look at the Project Options dialog box. You can <strong>in</strong>voke this dialog box<br />

by choos<strong>in</strong>g Options | Project from the ma<strong>in</strong> menu, press<strong>in</strong>g Alt+F6 on the keyboard, or<br />

choos<strong>in</strong>g Options from the Project Manager speed menu. The Project Options dialog box<br />

is a tabbed dialog box with several pages:

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

Saved successfully!

Ooh no, something went wrong!