相关代码 |
|
/* $Id: foo.cpp,v 1.3 1997/02/02 01:31:00 matt Exp $ FOO formatter. Uses compiler and output functions to read FOO from cin and spit out a canonically formatted FOO version to cout. */ #include "foo_output.h" #include "FooParser.h" int main () { BufferedInputStream istr (cin); FooParser parser (istr); if (parser.getErrors ().nItems () == 0) { cout } else { cout } return 0; }
相关资源 |
|