Answers for "how to write hello world in c++"

C++
28

hello world c++

#include <iostream>


int main(){
 std::cout <<"Hello World" << std::endl;
 return 0;
}
Posted by: Guest on February-07-2020
8

c++ code to print hello world

#include<iostream>
using namespace std;

int main(){
 
  cout << "Hello World" << endl;
  
  return 0;
}
Posted by: Guest on June-10-2020
0

how to write hello world in c++

#include <iostream>
//optional using namespace std;
int main() {
    std::cout << "Hello, World!" << std::endl;
    return 0;
}
Posted by: Guest on September-20-2021

Browse Popular Code Answers by Language