Sams Teach Yourself C++ in 21 Days
GetString( ), 443, 544 GetUpperLeft( ), 169 GetWeight( ), 164 GetWord( ), 425 header files, 267-268 headers, 36 ignore( ), 610-6 ...
running, 18 source code, 17, 25-26 testing, 19-20 Hello.cpp file, 17, 26 hex flag, 618 hexadecimal numbers, 813-816 converting t ...
shared functions, 452 virtual inheritance, 468-472 virtual methods, 391-397 copy constructors, 400-403 destructors, 399-400 invo ...
less than symbol (<), 28 less than operator, 80 less than or equal operator, 80 redirection symbol, 17 libraries, 594 defined ...
limitations, 763-764 source code, 761-762 compared to functions, 771 compared to templates, 771 defining, 757 disadvantages, 771 ...
multiple base classes ambiguity resolution, 463-464 constructors, 460-463 objects, 460 multiple exceptions, 729-732 multiple inh ...
preliminary classes, 351-352 relationships, 358-363 static model, 354 transformations, 352-353 views, 353 models, 329-330 proces ...
overloading compared to overriding, 387 functions/methods, 118-121 constructors, 294-296, 381, 384 example, 289-292 when to use, ...
ownership, 285 passing by reference, 264-265 reassigning, 237 returning multiple values, 268-270 RTTI (Run Time Type Identificat ...
programming. See also program design comments, 32-33, 38 /* (C-style), 33 // (C++-style), 33 cautions, 34 example, 33-34 writing ...
recursion, 124-128 Fibonacci series example, 125-128 stop conditions, 124-125 redirect input command (<), 598 redirect output ...
short integers, 43, 46 showbase flag, 618 ShowMap( ) function, 707 showpoint flag, 618 showpos flag, 618 ShowVector( ) function, ...
static keyword, 642-643, 653 static member data, 506-508 accessing, 692 nonstatic methods, 510-511 without objects, 508-509 decl ...
forever loops, 201-204 guidelines, 204 indenting, 780 syntax, 198-200 symbolic constants, 59-60, 64 systems analysis, 347-348 T ...
Uppercase flag, 618 use-case analysis, 336-337 actors, 337 customer roles, 337-339 domain models, 339-341 association, 343 conta ...
skipping body of, 184-185 starting conditions, 187-188 syntax, 178 while (true), 183-184 whitespace, 68, 96 width( ) method, 615 ...
Operator precedence and associativity Level Operators Evaluation Order 1 (high) ( ). [ ] –> :: left-to-right 2 * &! ~ ++ ...
«
38
39
40
41
42
43
44
45
46
47
»
Free download pdf