Saturday, 24 July 2021

Print "Hello Binod" in C++ ! Turbo C++ vs Online C++ compiler.

1) Program to print "Hello Binod" in C++.

In turbo C++,

Source Code:

#include<iostream.h>
void main()
{
         cout << "Hello Binod" ;

}


Output:

Output1

Note:

  • If you want to be a programmer, prefer use of turbo C++ compiler or visual studio or dev C++.
  • I prefer turbo C++ for compiling.
  • Minimize the use of online compiler as format of source code changes in online compiler. For example, in online C++ compiler, the source code changes for the program we have done.

#include <iostream>
int main()
{
     std::cout<<"Hello Binod";

     return 0;

}





No comments:

Post a Comment

Program to find and display area, circumference and diameter of a circle in C++.

Write a C++ program to find and display area, circumference and diameter of a circle.  Source code: #include<iostream.h> #include<c...