If you are using Windows a good option would be Visual C 2010 Express, or if your using Linux a good one is Geany. Both come with an IDE (integrated development environment) built in, which can make the process of writing source code easier. (NOTE: Many people online will recommend that you use the Bloodshed Dev-C IDE and compiler.
- C++ Basics
- C++ Object Oriented
- You can make break points only break on a certain condition, see the call stack - the chain of functions that have been called to get where you are now, and many others. If you want to get great at mod programming, you have to get great at programming C, debugging C, and how to get make full use of your IDE (in this case VS).
- RGB uses additive color mixing. In additive color mixing, red and green make yellow, red and blue make magenta, and blue and green make cyan. When you mix the three primary colors together (red, green, and blue), they make white. You can read more at Wikipedia - Additive Color How many colors can I make with RGB color mixing?
- C Increment and Decrement Operators - The increment operator adds 1 to its operand, and the decrement operator - subtracts 1 from its operand.
- Yellow is the combination of red and green, as in (1, 1, 0). Orange is yellow with slightly less green, represented as (1, 0.5, 0). For more information on RGB, see the Wikipedia article.
- C++ Advanced
- C++ Useful Resources
- Selected Reading
The increment operator ++ adds 1 to its operand, and the decrement operator -- subtracts 1 from its operand. Thus −
And similarly −
Both the increment and decrement operators can either precede (prefix) or follow (postfix) the operand. For example −
or as −
When an increment or decrement is used as part of an expression, there is an important difference in prefix and postfix forms. If you are using prefix form then increment or decrement will be done before rest of the expression, and if you are using postfix form, then increment or decrement will be done after the complete expression is evaluated.
Example
Following is the example to understand this difference −
When the above code is compiled and executed, it produces the following result −
- C++ Basics
- C++ Object Oriented
- C++ Advanced
- C++ Useful Resources
- Selected Reading
The increment operator ++ adds 1 to its operand, and the decrement operator -- subtracts 1 from its operand. Thus −
And similarly −
Both the increment and decrement operators can either precede (prefix) or follow (postfix) the operand. For example −
or as −
When an increment or decrement is used as part of an expression, there is an important difference in prefix and postfix forms. If you are using prefix form then increment or decrement will be done before rest of the expression, and if you are using postfix form, then increment or decrement will be done after the complete expression is evaluated.
Example
Following is the example to understand this difference −
How Make Yellow In Dev C 2b 2b Tutorial
When the above code is compiled and executed, it produces the following result −