Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
C++ Tutorial
Operators Statements 93 codes
Home
C++ Tutorial
Operators Statements
1 A block of code in if statement
2 A conversion table of feet to meters
3 A Demonstration of Branching Based on Relational Operators
4 A Demonstration of the Conditional Operator
5 A for loop with no increment
6 A Help system that process multiple requests
7 A negatively running for loop
8 A nested if tatement
9 A switch without break statements
10 A while true loop
11 An if-else-if ladder
12 An improved Help system that uses a do-while to process a menu selection
13 Bit operator keywords
14 Bitwise operator keywords
15 Break a for loop
16 Break an infinite loop
17 Break and continue statements
18 Break from while
19 Calculate the sum of the integers from 1 to 10 using while loop
20 Calculator based on switch statement
21 Char navigation based on switch
22 Comma operator
23 Compound interest calculations with for
24 Counter-controlled repetition
25 Create an XOR using the C++ logical operators
26 Declare loop control variable inside the for
27 Demonstrate bitwise
28 Demonstrate bitwise complement
29 Demonstrate bitwise exclusive OR
30 Demonstrate sizeof
31 Demonstrates built-in arithmetic operators
32 Demonstrates WHILE loops using fibonacci series
33 Demonstrating a Forever Loop
34 Demonstrating operators and -
35 Demonstrating the comma operator
36 Determines if a value is a multiple of X
37 Display all printable characters including the extended character set
38 Display the alphabet
39 Do while loop with int counter
40 Empty for loop statement
41 Floating point control in a for loop
42 For loops with null statements
43 Generating multiplication tables
44 Goto loop example
45 If else statement with block code
46 If statement with else
47 If statement with variable logic operators
48 If with else
49 Logical operator keywords
50 Loop until a random number that is greater than 20,000
51 Looping with while
52 Lowercase letters using bitwise OR
53 Mod down by integer
54 Modular operator
55 Need parentheses around the conditional expression
56 Nested if statement in a do while loop
57 Object sizes
58 Output the results of several variable comparisons
59 Precedence of C Operators
60 Prefix, postfix, increment, decrement operators
61 Preincrementing and postincrementing
62 Proper use of braces with an if statement
63 Read int type variables and calculate mod value
64 Set up 3 stop conditions for the loop
65 Simplest for loop statement
66 Sizeof a class
67 Sizeof a union
68 Skip the body of the while loop when the condition is false
69 Switch case falling through
70 Switch statement based on data type
71 The body of a for loop can be empty
72 The Comma Operator
73 The complement of the number
74 The modulus operator
75 The relational and logical operators
76 The switch
77 Uppercase letters using bitwise AND
78 Use an int value to control the if
79 Use And operator to connect two boolean expressions
80 Use do while loop to read a number
81 Use multiple statements in for loops
82 Use nested for loops to find factors of numbers between 2 and 100
83 Use sizeof operator on an array name
84 Use the operator to prevent a division by zero
85 Use three conditions in while statement
86 Use XOR to encode and ecode a message
87 Using goto
88 Using the & and operators
89 Using the conditional operator to select output
90 Using the continue statement with do while loop
91 Using the sizeof operator for base class and derived class
92 Using the unary scope resolution operator
93 While statement with and&&