"Hello World" Program in C++

 #include<iostream>


int main()
{
    std::cout<<"Hello World";
    return 0;
}


OUTPUT:
PS D:\C++> cd "d:\C++\" ; if ($?) { g++ tut1.cpp -o tut1 } ; if ($?) { .\tut1 } Hello World PS D:\C++>

Comments

Popular posts from this blog

Control Structures, If Else and Switch Case Statements in C++

Basic Input/Output & More in C++