1. // hellop.cpp - CGI program for the web
  2.  
  3. #include <iostream>
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. cout << "content-type: text/html" << endl << endl;
  9.  
  10. cout << "<html><body>" << endl;
  11. cout << "<h1> Hello, World! </h1>" << endl;
  12. cout << "</body></html>" << endl;
  13.  
  14. return 0;
  15. }