Ivor Horton's Beginning Visual C++ 2013 - Ivor Horton - E-Book

Ivor Horton's Beginning Visual C++ 2013 E-Book

Ivor Horton

0,0
39,99 €

oder
-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.

Mehr erfahren.
Beschreibung

Learn C++ with the best tutorial on the market! Horton's unique tutorial approach and step-by-step guidance have helped over 100,000 novice programmers learn C++. In Ivor Horton's Beginning Visual C++ 2013, Horton not only guides you through the fundamentals of the standard C++ language, but also teaches you how C++ is used in the latest Visual Studio 2013 environment. Visual Studio 2013 includes major changes to the IDE and expanded options for C++ coding. Ivor Horton's Beginning Visual C++ 2013 will teach you the latest techniques to take your Visual C++ coding to an all-new level. * C++ language and library changes supported under Visual Studio 2013 * IDE-specific changes for code formatting and debugging * Changes to the C++ Standard Language for both C++ 11 and the new C++ 14 * And more Horton introduces you to both Standard C++ and Visual C++ so you can build any component your app requires. Ivor Horton's Beginning Visual C++ 2013 is an indispensable guidebook for any new programmer, and contains plenty of exercises and solutions to help programmers of any level master the important concepts quickly and easily.

Sie lesen das E-Book in den Legimi-Apps auf:

Android
iOS
von Legimi
zertifizierten E-Readern

Seitenzahl: 1601

Veröffentlichungsjahr: 2014

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Contents

Chapter 1: Programming with Visual C++

Learning with Visual C++

Writing C++ Applications

Learning Desktop Applications Programming

The Integrated Development Environment

Using the IDE

Summary

Chapter 2: Data, Variables, and Calculations

The Structure of a C++ Program

Defining Variables

Fundamental Data Types

Basic Input/Output Operations

Calculating in C++

Type Conversion and Casting

The auto Keyword

Discovering Types

The Bitwise Operators

Introducing Lvalues and Rvalues

Understanding Storage Duration and Scope

Variables with Specific Sets of Values

Namespaces

Summary

Chapter 3: Decisions and Loops

Comparing Values

Repeating a Block of Statements

Summary

Chapter 4: Arrays, Strings, and Pointers

Handling Multiple Data Values of the Same Type

Working with C-Style Strings

Indirect Data Access

Dynamic Memory Allocation

Using References

Library Functions for Strings

Summary

Chapter 5: Introducing Structure into Your Programs

Understanding Functions

Passing Arguments to a Function

Returning Values from a Function

Recursive Function Calls

Summary

Chapter 6: More about Program Structure

Pointers to Functions

Initializing Function Parameters

Exceptions

Handling Memory Allocation Errors

Function Overloading

Function Templates

Using the decltype Operator

An Example Using Functions

Summary

Chapter 7: Defining Your Own Data Types

The struct in C++

Types, Objects, Classes, and Instances

Understanding Classes

Class Constructors

Private Members of a Class

The Pointer this

Const Objects

Arrays of Objects

Static Members of a Class

Pointers and References to Objects

Summary

Chapter 8: More on Classes

Class Destructors

Implementing a Copy Constructor

Operator Overloading

The Object Copying Problem

Default Class Members

Class Templates

Perfect Forwarding

Default Arguments for Template Parameters

Aliases for Class Templates

Template Specialization

Using Classes

Organizing Your Program Code

Library Classes for Strings

Summary

Chapter 9: Class Inheritance and Virtual Functions

Object-Oriented Programming Basics

Inheritance in Classes

Access Control Under Inheritance

The Copy Constructor in a Derived Class

Preventing Class Derivation

Class Members as Friends

Virtual Functions

Casting Between Class Types

Nested Classes

Summary

Chapter 10: The Standard Template Library

What Is the Standard Template Library?

Smart Pointers

Algorithms

Function Objects in the STL

Function Adapters

The Range of STL Containers

Sequence Containers

Associative Containers

More on Iterators

More on Function Objects

More on Algorithms

Type Traits and Static Assertions

Lambda Expressions

Summary

Chapter 11: Windows Programming Concepts

Windows Programming Basics

The Structure of a Windows Program

The Microsoft Foundation Classes

Summary

Chapter 12: Windows Programming with the Microsoft Foundation Classes (MFC)

The MFC Document/View Concept

Creating MFC Applications

Summary

Chapter 13: Working with Menus and Toolbars

Communicating with Windows

Extending the Sketcher Program

Elements of a Menu

Adding Menu Message Handlers

Adding Toolbar Buttons

Summary

Chapter 14: Drawing in a Window

Basics of Drawing in a Window

The MFC Drawing Mechanism

Drawing Graphics in Practice

Programming for the Mouse

Drawing a Sketch

Summary

Chapter 15: Improving the View

Sketcher Limitations

Improving the View

Deleting and Moving Elements

Implementing a Context Menu

Identifying an Element under the Cursor

Dealing with Masked Elements

Summary

Chapter 16: Working with Dialogs and Controls

Understanding Dialogs

Understanding Controls

Creating a Dialog Resource

Programming for a Dialog

Supporting the Dialog Controls

Completing Dialog Operations

Using a Spin Button Control

Using the Scale Factor

Working with Status Bars

The CString Class

Using an Edit Box Control

Summary

Chapter 17: Storing and Printing Documents

Understanding Serialization

Serializing a Document

Applying Serialization

Exercising Serialization

Printing a Document

Implementing Multipage Printing

Summary

Chapter 18: Programming for Windows 8

Windows Store Applications

Developing Windows Store Apps

Windows Runtime Concepts

C++ Component Extensions (C++/CX)

The Extensible Application Markup Language (XAML)

Creating a Windows Store App

Scaling UI Elements

Transitions

Summary

Introduction

Advertisement

End User License Agreement

List of Illustrations

FIGURE 1-1

FIGURE 1-2

FIGURE 1-3

FIGURE 1-4

FIGURE 1-5

FIGURE 1-6

FIGURE 1-7

FIGURE 1-8

FIGURE 1-9

FIGURE 1-10

FIGURE 1-11

FIGURE 1-12

FIGURE 1-13

FIGURE 2-1

FIGURE 2-2

FIGURE 2-3

FIGURE 2-4

FIGURE 2-5

FIGURE 2-6

FIGURE 2-7

FIGURE 2-8

FIGURE 2-9

FIGURE 2-10

FIGURE 2-11

FIGURE 3-1

FIGURE 3-2

FIGURE 3-3

FIGURE 3-4

FIGURE 3-5

FIGURE 3-6

FIGURE 4-1

FIGURE 4-2

FIGURE 4-3

FIGURE 4-4

FIGURE 4-5

FIGURE 4-6

FIGURE 4-7

FIGURE 4-8

FIGURE 5-1

FIGURE 5-2

FIGURE 5-3

FIGURE 5-4

FIGURE 6-1

FIGURE 6-2

FIGURE 6-3

FIGURE 6-4

FIGURE 6-5

FIGURE 6-6

FIGURE 6-7

FIGURE 6-8

FIGURE 7-1

FIGURE 7-2

FIGURE 7-3

FIGURE 7-4

FIGURE 7-5

FIGURE 7-6

FIGURE 7-7

FIGURE 8-1

FIGURE 8-2

FIGURE 8-3

FIGURE 8-4

FIGURE 8-5

FIGURE 8-6

FIGURE 8-7

FIGURE 8-8

FIGURE 8-9

FIGURE 8-10

FIGURE 9-1

FIGURE 9-2

FIGURE 9-3

FIGURE 9-4

FIGURE 9-5

FIGURE 9-6

FIGURE 10-1

FIGURE 10-2

FIGURE 10-3

FIGURE 10-4

FIGURE 11-1

FIGURE 11-2

FIGURE 11-3

FIGURE 11-4

FIGURE 11-5

FIGURE 12-1

FIGURE 12-2

FIGURE 12-3

FIGURE 12-4

FIGURE 12-5

FIGURE 12-6

FIGURE 12-7

FIGURE 12-8

FIGURE 12-9

FIGURE 12-10

FIGURE 12-11

FIGURE 12-12

FIGURE 12-13

FIGURE 13-1

FIGURE 13-2

FIGURE 13-3

FIGURE 13-4

FIGURE 13-5

FIGURE 13-6

FIGURE 13-7

FIGURE 13-8

FIGURE 13-9

FIGURE 13-10

FIGURE 13-11

FIGURE 13-12

FIGURE 13-13

FIGURE 13-14

FIGURE 14-1

FIGURE 14-2

FIGURE 14-3

FIGURE 14-4

FIGURE 14-5

FIGURE 14-6

FIGURE 14-7

FIGURE 14-8

FIGURE 14-9

FIGURE 14-10

FIGURE 14-11

FIGURE 14-12

FIGURE 14-13

FIGURE 14-14

FIGURE 14-15

FIGURE 14-16

FIGURE 14-17

FIGURE 15-1

FIGURE 15-2

FIGURE 15-3

FIGURE 15-4

FIGURE 16-1

FIGURE 16-2

FIGURE 16-3

FIGURE 16-4

FIGURE 16-5

FIGURE 16-6

FIGURE 16-7

FIGURE 16-8

FIGURE 16-9

FIGURE 16-10

FIGURE 16-11

FIGURE 16-12

FIGURE 16-13

FIGURE 16-14

FIGURE 16-15

FIGURE 16-16

FIGURE 17-1

FIGURE 17-2

FIGURE 17-3

FIGURE 17-4

FIGURE 17-5

FIGURE 17-6

FIGURE 17-7

FIGURE 17-8

FIGURE 17-9

FIGURE 18-1

FIGURE 18-2

FIGURE 18-3

FIGURE 18-4

FIGURE 18-5

FIGURE 18-6

FIGURE 18-7

FIGURE 18-8

FIGURE 18-9

Pages

v

vi

vii

viii

ix

x

xi

xii

xiii

xiv

xxxiii

xxxiv

xxxv

xxxvi

xxxvii

xxxviii

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

92

93

94

95

96

97

98

99

100

101

102

103

104

105

106

107

108

109

110

111

112

113

114

115

116

117

118

119

120

121

122

123

124

125

126

127

128

129

130

131

132

133

134

135

136

137

138

139

140

141

142

143

144

145

146

147

148

149

150

151

152

153

154

155

156

157

158

159

160

161

162

163

164

165

166

167

168

169

170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

201

202

203

204

205

206

207

208

209

210

211

212

213

214

215

216

217

218

219

220

221

222

223

224

225

226

227

228

229

230

231

232

233

234

235

236

237

238

239

240

241

242

243

244

245

246

247

248

249

250

251

252

253

254

255

256

257

258

259

260

261

262

263

264

265

266

267

268

269

270

271

272

273

274

275

276

277

278

279

280

281

282

283

284

285

286

287

288

289

290

291

292

293

294

295

296

297

298

299

300

301

302

303

304

305

306

307

308

309

310

311

312

313

314

315

316

317

318

319

320

321

322

323

324

325

326

327

328

329

330

331

332

333

334

335

336

337

338

339

340

341

342

343

344

345

346

347

348

349

350

351

352

353

354

355

356

357

358

359

360

361

362

363

364

365

366

367

368

369

370

371

372

373

374

375

376

377

378

379

380

381

382

383

384

385

386

387

388

389

390

391

392

393

394

395

396

397

398

399

400

401

402

403

404

405

406

407

408

409

410

411

412

413

414

415

416

417

418

419

420

421

422

423

424

425

426

427

428

429

430

431

432

433

434

435

436

437

438

439

440

441

442

443

444

445

446

447

448

449

450

451

452

453

454

455

456

457

458

459

460

461

462

463

464

465

466

467

468

469

470

471

472

473

474

475

476

477

478

479

480

481

482

483

484

485

486

487

488

489

490

491

492

493

494

495

496

497

498

499

500

501

502

503

504

505

506

507

508

509

510

511

512

513

514

515

516

517

518

519

520

521

522

523

524

525

526

527

528

529

530

531

532

533

534

535

536

537

538

539

540

541

542

543

544

545

546

547

548

549

550

551

552

553

554

555

556

557

558

559

560

561

562

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!