home *** CD-ROM | disk | FTP | other *** search
- // This C++ file has errors in it
- // and is designed to show how
- // GrepBrowser can work with output
- // from Borland C++ 3.1.
- //
- //
- // To compile
- //
- // bcc ex1.cpp >bcc.err
- //
- // To convert BCC error format to
- // GrepBrowser format
- //
- // bcc2grep.bat
- //
- // This creates processes bcc.err to
- // create bcc.grp which can be fed to
- // GrepBrowser
- //
- // To open GrepBrowser on compiler
- // warning and error messages (from
- // Windows command line or Program Manager
- // (Assuming you are working in a directory
- // called \work)
- //
- // gb \work\bcc.grp
- //
- // Typically compilation and converion
- // of output would be managed by a
- // makefile.
- //
-
- main()
- {
- int i = 3 // missing semicolon
- j++; // reference to undeclared variable
- printf("hello\n"); // call to undefined function
- }
-