View Single Post
  #5   (View Single Post)  
Old 19th May 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

Or, instead.. do:
Code:
//  test.cc  or test.cpp
#include <iostream>

using namespace std;

int
main(void) {
    cout << "Hello World\n";
                            
    return 0;               
}
That we you don't need to add the std:: prefix..

Anyway, I don't understand why people use C++ instead of C.. it's so much cleaner.
Reply With Quote