Hello, World!!!

main.cpp:

#include <iostream>
 
int main() {
    std::cout << "Hello, World!!!\n";
    return 0;
}

3 thoughts on “Hello, World!!!

  1. Joshua Burkholder

    For C++ 2011 using MinGW’s g++ version 4.6.2:
    g++ -o main.exe main.cpp -std=c++0x -march=native -O3 -Wall -Wextra -Werror && ./main.exe

  2. Joshua Burkholder

    For C++ 2011 using MinGW’s g++ version 4.7.2:
    g++ -o main.exe main.cpp -std=c++11 -march=native -O3 -Wall -Wextra -Werror -static && ./main.exe

Leave a Reply to Joshua Burkholder Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.