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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Layout property (BitBtn<br />

component), 301<br />

Left property (components),<br />

281<br />

libraries, 2<strong>14</strong><br />

import, 170<br />

static, 170<br />

Library Path field (Directories/<br />

Conditionals tab, Project<br />

Options dialog box), 374<br />

L<strong>in</strong>e Number Information<br />

option (<strong>C++</strong> tab, Project<br />

Options dialog box), 368<br />

L<strong>in</strong>es property (edit controls),<br />

290<br />

L<strong>in</strong>ker tab (Project Options<br />

dialog box), 371-373<br />

Application Target section,<br />

372<br />

Application Type section,<br />

372<br />

L<strong>in</strong>k<strong>in</strong>g section, 372<br />

Map File section, 372<br />

Stack Sizes section, 373<br />

L<strong>in</strong>k<strong>in</strong>g section (L<strong>in</strong>ker tab,<br />

Project Options dialog box),<br />

372<br />

ListBox component, 292-296<br />

properties, 294-296<br />

list<strong>in</strong>gs<br />

AIRPLANE.CPP, 110-113<br />

AIRPLANE.H, 109-110<br />

AIRPORT.CPP, 113-115<br />

ARGSTEST.CPP, 27<br />

C code to load and display a<br />

bitmap, 132-133<br />

dialog box resource<br />

def<strong>in</strong>ition, 188<br />

FORLOOP.MAKCPP, 47<br />

HELLO.CPP, 12<br />

revised, 13-<strong>14</strong><br />

JJMa<strong>in</strong>.cpp, 344-347<br />

JJMa<strong>in</strong>.h, 344<br />

JJRes.rc, 347<br />

MAILLIST.CPP, 60-62<br />

MULTIPLY.CPP, 23<br />

NULLTEST.CPP, 31<br />

OWL code to load and<br />

display a bitmap, 134<br />

OWLHELLO.CPP, 186<br />

POINTER.CPP, 74-75<br />

READFILE.CPP, 123<br />

REFERENC.CPP, 77-78<br />

SCOPE.CPP, 53-54<br />

SPMAIN.CPP, 256-259<br />

SPMAIN.H, 254-255<br />

SPMa<strong>in</strong>.h, 336-337<br />

STRUCTUR.H, 62<br />

Surf00<br />

header file, 479-480<br />

source file, 480-481<br />

text version, 481-483<br />

WHILETST.CPP, 48<br />

WRAPME.CPP, 19<br />

WRITEFIL.CPP, 125-126<br />

LoadStr<strong>in</strong>g( ) function, 347<br />

local allocation, 69<br />

local filter<strong>in</strong>g (databases),<br />

447-448<br />

local scope, 54<br />

Locate method (TTable<br />

component), 448-449<br />

Lock Controls command (Edit<br />

menu), 228<br />

lock<strong>in</strong>g components (Form<br />

Designer), 228<br />

long h<strong>in</strong>ts, 280<br />

Lookup method (TTable<br />

component), 449<br />

loops, 44-52<br />

break keyword, 50-52<br />

switch statements, 52<br />

cont<strong>in</strong>ue keyword, 50-51<br />

do-while, 49<br />

for, 45-47<br />

goto, 49-50<br />

while, 48<br />

M<br />

macros, diagnostic (TRACE/<br />

WARN), 418-420<br />

MAILLIST.CPP list<strong>in</strong>g, 60-62<br />

ma<strong>in</strong> menu, 175<br />

ma<strong>in</strong> w<strong>in</strong>dow forms, 187<br />

ma<strong>in</strong>( ) function, 26-28<br />

Ma<strong>in</strong>Menu component, 245<br />

MAK files, 172<br />

Make option (Ctrl+F9), 183<br />

manipulators, 12<br />

Map File section (L<strong>in</strong>ker tab,<br />

MenuItem component<br />

519<br />

Project Options dialog box),<br />

372<br />

Marg<strong>in</strong> property (BitBtn<br />

component), 302<br />

MaskEdit component, 287-292<br />

properties, 289-292<br />

MaxLength property<br />

ComboBox component, 294<br />

edit controls, 290<br />

MDIs (multiple-document<br />

<strong>in</strong>terfaces), 193-194<br />

example application, 204-212<br />

member functions, 105-107<br />

private, 106<br />

protected, 106<br />

public, 105<br />

static, 106<br />

Memo component, 287-292<br />

properties, 289-292<br />

ScratchPad example, 241-242<br />

memory<br />

delete operator, 81-85<br />

dynamic allocation, 70<br />

po<strong>in</strong>ters, 70<br />

heap, 69-70, 93<br />

local allocation, 69<br />

new operator, 81-83<br />

stack, 69, 93<br />

Menu Designer, 244<br />

access<strong>in</strong>g Code Editor, 252<br />

add<strong>in</strong>g keyboard shortcuts,<br />

251-252<br />

creat<strong>in</strong>g<br />

menus (ScratchPad<br />

example), 245-248<br />

menu separators<br />

(ScratchPad example),<br />

247<br />

submenus, 251<br />

delet<strong>in</strong>g menu items<br />

(ScratchPad example),<br />

249-250<br />

<strong>in</strong>sert<strong>in</strong>g menu items<br />

(ScratchPad example), 250<br />

modify<strong>in</strong>g menu items<br />

(ScratchPad example), 251<br />

mov<strong>in</strong>g menu items<br />

(ScratchPad example), 250<br />

speed menu, 244<br />

MenuItem component, 245

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

Saved successfully!

Ooh no, something went wrong!