Check The Programming Section
How to start with this tutorial to learn basic C/C++ programming and imporntance about an Integrated Development Environment (IDE) to write a code is discussed here. About the development of C++ programming languages and the importance of learning C/C++ programming is also discussed.
How to start learning C++?
Importance of an Integrated Development Environment
In this chapter, the basic building blocks of C/C++ programming langauges such as, character set, keywords, data types with modifiers and qualifiers are discussed. Most importantly, we will learn how to start writting code using C/C++ programming languages. The most popular Hello, World! program is explained and various stages of a program with flowchart is explaind. After reading this chapter, we will ready to write simple C and C++ program using variables and constants. Further few importnat pointes related to data types are discussed in the FAQ section.
Compilation and Execution of Hello World Program
Writting a beter program with variables and constnats
After reading this chapter you will be able to use input and output features in your C/C++ program. Inputs are taken against a variable name and process these inputs to produce the output. Input and output functions are library functions and we need to include required libraries before using these functions. Further, input and output functions required various formatted specifiers based on particular data type. Input output functions are also called I/O functions.
An operator is defined as a symbol that specifies the mathematical, logical and relation operation to be performed. C++ is rich in built-in operators. In fact, it places more significance on operators than do most other computer languages. There are four main classes of operators: arithmetic, relational, logical, and bitwise. In addition, there are some special operators for particular tasks.
Preprocessor directives are typically used to make the code easy to modify and compile in different execution environments.
Conditional Compilation (#ifdef, #ifndef, #else, #endif)