| | The Visual C++ Programming Tutorials: Loops, Decision and Functions
|
|
|
In the real programming there are many branch or conditional situations. During the program execution, program need to make a decision if more than one way of execution encountered. Program need to do a selection... This module consists of two part: Program Controls and Functions. Nothing new if you already familiar with C or native C++ program controls and functions. In the loops module you will learn two types of program control that is selection and repetition. In selection you can use the if, if-else, if-else-if and switch-case-break constructs. For the repetition part, you can use while, do-while or for loop. The second part is Functions. It is similar as in C or native C++. Using functions, you can divide your program into a smaller pieces of program based on the specific task that need to be completed. This smaller program or a function can be put in separate files and it is reusable. The following are the topics for this Chapter.
|
|
Best viewed using FireFox, Chrome etc. Worst viewed using IE of any version
Webmaster contact: [contact[@]visualcplusdotnet.com] Copyright 2019 © Visualcplusdotnet. All rights reserved. Excellent hosting services provided by MochaHost - The Online Central
| About | Disclaimer | Privacy | Site Index & Project Download | Native C | Contact | | |
|
Custom Search | |
|
|
|