User profile: JLBorges

User info
User name:JLBorges
Number of posts:13421
Latest posts:

C++ Review Questions
> Switches work on ints & chars & enums Yes. Also on class types which are contextually convertible...

An input variable takes both double and string?
Read the input into a string and parse the string (checking for all valid forms). The regular expre...

C++ Review Questions
> Why is a switch-case construct limited to only integer & char? > You can compare if (3.14 < 3.141...

C++ Review Questions
> What is meant by an "integral"? Relating to numbers: An "integral number" is an integer. I've al...

Windows Application - WNDCLASS etc.
> how can I make functions for long code and make it neater in WinMain. Here is such a minimalist p...