C++ | How to show output | Lecture 10

How to show output | C Plus Plus

How to show output in C Plus Plus?

Here you will come to know how to show output in C++. Here a special command is used
cout
Pattern :
cout << "It is Samee Articles: Quality Written Codes Blog. It is How to show output article." ;
termination is very important. don't forget it.
thanks.


 /*  
  Name: Show Output.  
  Copyright: SameeArticles.blogspot.com (Quality Written Codes)  
  Author: Samee Ullah Feroz  
  Date: 26/01/14 23:03  
  Description: Here you will learn C++ basic syntax and function  
 */  
 #include <iostream>  
 int main()  
 { //body starts from here  
   using namespace std; //It will call all standard functions of C++ before body  
   cout << "Welcome to Quality Written Codes.";  
   cout << endl; //It is used to break line  
   cout << "\tSupported by Samee Ullah Feroz." << endl; //it is an other method to break line.  
   // "\t" is used to add tab like in PHP language.  
   system("pause"); //It will help to stop this program  
   return 0; // It will end this function.  
 } //body ends here  

Share this article :

Post a Comment

Give your reviews about this blog. Leave your comments. What do you think about this post?

Comments Guidelines:

1) I love to read comments, but please avoid spam.

2) Like this blog, share your insights, and spread the word.

3) You can use basic HTML/xHTML tags.

4) All comments are DoFollow—please use the section professionally.

5) Kindly mention your name or brand below your comment.

6) Constructive suggestions for improvement are always welcome.

7) Do not forget to explore our main agency platform at pingbooster.site.

Thanks for visiting Samee Articles.

========================================

Explore custom digital solutions and WordPress plugins at PingBooster Plugins.

Best Regards,

Samee U. Feroz

 
Copyright © 2013-2016. Samee Articles - All Rights Reserved
Proudly powered by Blogger