Functions

A group of statement that perform a particular task are known as functions. We have already seen functions, the main() function is an inseparable part of a C++ program. We can define our own functions too. The main() function looks like: The return type of a function is declared first which describe the type of … Continue reading Functions

Your First Program

Your First Program As a ritual the very first program of any language is the “Hello, world!” program. It merely prints out Hello, world to the computer screen. A Hello, world program in C++ is: Seems too much, isn’t it? First of all copy paste this code in code::blocks and run it using the build … Continue reading Your First Program