Home

Submit

Source

Feeds

Home » C and C++ » General Development ::

C and C++ General Development
The ability to control the flow of your program, letting it make decisions on what code to execute, is valuable to the programmer. The if statement allows you to control if a program enters a section of code or not based on whether a given condition is true or false. One of the important functions of the if statement is that it allows the program to select an action based upon the user's input.
Related Tutorials
C and C++ General Development
Switch Case
C and C++ / General Development
Switch case statements are a substitute for long if statements that compare a variable to several "integral" values.

Site: www.cprogramming.com Report - View Tutorial

C and C++ Getting Started
Constructing Expressions
C and C++ / Getting Started
There are techniques you can use to combine conditional statements when one of them cannot fully implement the desired behavior.

Site: www.functionx.com Report - View Tutorial

 
Site Search

 
Categories
2D Graphics 3D Graphics Office Applications Databases Desktop Programming Web Development
 
Advertisement