D


data

retrieving, 145–146

returning (functions), 246

storing, 145–146

data types

arrays

defined, 146,159

defining, 150–160

elements, 150–160

indexes, 159, 236

loops, 160

overview, 158–159

troubleshooting, 160

constants

creating, 287–288

declaring, 147–148

defined, 145

overview, 146

creating (classes), 286–287

functions, 249

overview, 145–147

structures

defined, 146

overview, 160–162

variables. See variables

date/time, 254–256

DateTime class, 254–256

debug versions (applications), 84, 340

debugging breakpoints. See also error handling

adding, 340–342

deleting, 342

overview, 340

stepping, 342–343

declaring. See also names

constants, 147–148

variables, 149–150

case sensitivity, 152

conventions, 152–153

scope, 152–153

strings, 156–157

default arguments (functions), 253–254

defining

arrays, 150–160

classes, 289

functions, 248–250

variables, 149–150

local, 150–151

scope, 152

static, 151–152

deleting

breakpoints (debugging), 342

code, 56

menus

check marks, 113–114

items, 109

design

Click Race, 50–51

Dice Poker, 217–218

Guess a Number, 190–191

GUIs, 65–66

Hangman, 257–258

Joke Machine, 16

Lottery Assistant, 125–126

menu systems, 104–106

Rock, Paper and Scissors, 290–291

Speed Typing, 85–86

Story of Mighty Molly, 163–164

Tic-Tac-Toe, 346

VC++ Doodle, 322

developing applications

.NET Framework, 14

speed, 181

dialog boxes

adding, 78–84

alignment, 82

buttons, 80–81, 83–84

icons, 80–81

Import and Export Settings Wizard, 31

MessageBox class Show function, 78–84

parameters, 79–84

text, 79, 82–83

user input, 83

viewing/hiding, 82

Dice Poker

code, 225–239

controls

creating, 217–218

properties, 221–225

creating, 217–219

design, 217–218

GUIs, 219–220

preview, 207–210

testing, 239

windows/forms

creating, 217–218

properties, 221–225

DirectX compatibility, 10

dowhile loops, 212–213

docking windows/forms, 31–32

DoubleTryParse function, 133

downloading Visual C++, 8

dragging. See moving

drawing. See graphics

Drawing function (System class), 327

DrawString function (Graphics class), 317–318




Microsoft Visual C++ 2005 Express Edition Programming for the Absolute Beginner 2006
Microsoft Visual C++ 2005 Express Edition Programming for the Absolute Beginner 2006
ISBN: 735615381
EAN: N/A
Year: 2005
Pages: 131

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net