• Home
  • Game
  • C++
  • Java
  • Android
  • No Need
  • Input & Output In C++ (Basic)

    Cout<<”Print sentence”;    This statement is use to print out any kinds of sentence or string type values.

    Cout<<345;    This statement is use to print out any kinds of numeric numbers, without change.

    Cout<<variable;       This statement is use to print the value of variable. The value of the which variable we want to print, It is need to write that variable on variable place.


    cin>> a;   cin is the standard input for c++ programming. any kinds of value can receive by using this statement. The benefit c++ from other language as like as java is this point.   

    char ca;
    int in;
    string ss;
    float fl;
    double db;

    Click hare download source code. 
    Share this article :
    Support : Prosanta Chaki |
    Copyright © 2011. Funny Programmer - All Rights Reserved
    Proudly powered by Blogger