2nd Simple C++ Program - Tutorial

ssendi By ssendi, 12th Apr 2012 | Follow this author | RSS Feed | Short URL http://nut.bz/1cdukbzq/
Posted in Wikinut>Guides>Technology>Computer Software

This program is simple to "1st simple c++ program" , but in this one we add a new varible number and give it a value of 6...

2nd Simple C++ Program - Tutorial

Here in this program we define integer (int) and give it a value 6, after that we
write that on the screen with comand word "cout", besides "Write this on the screen: "
"endl"-->> means end line


#include <iostream>
using namespace std;
int main()
int number;
cout<<"Write this on the screen: "<<number<<endl;


If you want more C++ programs click here.....


Computer, Computer Software, Computer Tips, Computers Software, Computing, Japan, Java, Java Programming, Java Script, Javascript, Programmed Specially, Programmes, Programming, Programming In C, Programming Software, Programs, Tutor, Tutor Jobs, Tutorial, Tutorials, Tutoring, Tutoring On The Internet, Tutoring On-Line, Tutors

Meet the author

author avatar ssendi
I'm from Bosnia, and I like computer languages...
On this site I'will mainly write codes for programs, in C++, Java, and HTML...
I also write at http://www.expertscolumn.com

Share this page

moderator Steve Kinsman moderated this page.
If you have any complaints about this content, please let us know


author avatar Denise O
29th Jun 2012 (#)

Thank you for sharing.:)

Reply to this comment

Add a comment
Can't login?