I was going through C++ Primer Plus, 5th ed.
I noticed under typecasting
it says use the following for type casts in C++
typename (value) // new C++
mentions the fact it was meant to look like a function call.
So
int num;
num = int (19.99) + int (11.99);
cout << num;
I thought the new way to cast in Standard C++ is using static_cast like below
float f = 100.0;
int a = static_cast<int>(f);
Have any of you heard of this "new casting style"
typename (value) // new C++
Mr. C.