Loading...
Loading...
Loading Curriculum...
Loading Subject...
Loading Topic...
Loading Lesson...
Loading Lab...
Used to create a new name (alias) for an existing data type. It doesn't create a new type; it just gives a more descriptive name to an old one.
typedef unsigned long long ull; ull bigNum = 10000000000ULL;
using VectorInt = std::vector<int>; VectorInt myVec;
The using keyword is preferred in modern C++ as it's more readable and supports templates.
typedef float Real;)