Basic Program in C++

By: Prof. Fazal Rehman Shamil
Last modified on May 8th, 2020

Basic Program in C++

Write a program to print a message on the screen?

Program with comments.

We can comment the program for better understanding. Comments can be started with the symbols //.

Output.

basic program in c plus plus


Write a program to print two messages on two different lines on the screen?

Program with comments.

Output of the program.

first program in c++

Video Lecture

Prof. Fazal Rehman Shamil
Latest posts by Prof. Fazal Rehman Shamil (see all)