Name: Anonymous 2010-05-24 12:37
Hi, /prog/.
What is the most beloved syntax style here? KR? BSD? GNU, perhaps?
What is the most beloved syntax style here? KR? BSD? GNU, perhaps?
#include <iostream>
using namespace std;
const char *what = "an anus";
int main( int argc, char *argv[] ) {
if( argc != 2 ) {
cout << "usage: " << argv[0] << " [text]" << endl;
return 0;
}
cout << argv[1] << " is " << what << endl;
return 0;
}