Advertisement
obernardovieira

First ( CGI ) in C++

Feb 16th, 2014
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. #include <iostream>
  2. int main()
  3. {
  4.     std::cout << "Content-type: text/html" << std::endl << std::endl << std::endl;
  5.  
  6.     std::cout << "<html><body><div style='color:red;'>Hello Wodld!</div></body><body>" << std::endl;
  7.     return 0;
  8. }
  9.  
  10. //g++ this_file.cpp -o thisfile.cgi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement