February 24, 2008

0.0F vs 0.0 vs 0.0L and 0 vs 0L

There are different types in C++.

0.0F is a float, 0.0 is a double, and 0.0L is a long double.

0 is a int and 0L is a long.

"ABC" is a ansi string and L"ABC" is a wide string.