cout << endl << endl << "Summary: " << endl;
cout << endl << "Summary"; if (gRootDir[0]!='.' || gRootDir[1]) cout << " for " << gRootDir; cout << ": " << endl;
int main(int argc, char* argv[]){  getcwd(gRootDir,sizeof(gRootDir)-1);  ConsumeArguments(argc,argv);  int fileCount=0;  int lineCount=0;  int errCount=0;#if 0  nsCAutoString temp("test3.cpp");  ScanFile(temp,cout,lineCount,errCount);  fileCount++;#endif#if 1  if(gEmitHTML) {    cout << "<html><body>" << endl;  }  cout << "Scanning " << gRootDir << "..." << endl;  IDirectory* theDirectory=IDirectory::openDirectory(gRootDir,"*.*");  if(theDirectory)    IterateFiles(*theDirectory,cout,fileCount,lineCount,errCount);#endif  if(gEmitHTML) {    cout << "<PRE>" <<endl;  }  cout << endl << endl << "Summary: " << endl;  cout << "===============================" << endl;  cout<< "Files: " << fileCount << endl;  cout<< "Lines: " << lineCount<< endl;  cout<< "Errors: " << errCount<< endl;  if(gEmitHTML) {    cout << "</PRE>" <<endl;    cout << "</body></html>" << endl;  }  return 0;}