May 2017
Intermediate to advanced
590 pages
17h 18m
English
Use the following casts to perform type conversions:
enum options {one = 1, two, three}; int value = 1; options op = static_cast<options>(value); int x = 42, y = 13; double d = static_cast<double>(x) / y; int n = static_cast<int>(d);
Read now
Unlock full access