posted by Seth on .
what are the simplest methods to understand C++ programming language?
C++ is just another programming language.
If you have already programmmed in other languages, switching to C++ will not be difficult. On the other hand, if you are programming for the first time, you will be learning two things at the same time:
programming concepts, and
the C++ programming language.
In my opinion, learning any new programming language can benefit from any of the following:
1. getting a compiler and do programming hands on, from the "hello world!" programme to finding prime numbers, reading writing files, use the GUI interface, handling graphics, eventually writing games, etc. You can also attempt to solve daily problems using the programming language, write a recipe book which will prorate ingredients, etc.
2. Find tutorials online, or read the text book to learn the basic rules of the language.
3. Read sample codes and try to understand them. If you don't, compile the code and make changes to completely understand the code.
4. Last but not least, take a course in programming and try to do all the assignments by yourself, meaning that do not put in any code that you don't understand.
Write a program that calculates a worker's weekly pay determined by the number of hours worked and the hourly rate. Any hours more than 40 are paid at 1.5 times the hourly rate. The user should enter the number of hours worked and the hourly rate.