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 (Available for Professional Discussions)
1. Message on Facebook page for discussions,
2. Video lectures on Youtube
3. Email is only for Advertisement/business enquiries.