19. Miscellaneous Operations

<< Previous Table of Contents   |   Detailed Index Next >>
1. Preprocessing a File

To preprocess a file:

-  Click Tools → Preprocess.

Crystal FLOW or REVS preprocess the file and displays the preprocessed output in a different file with the same name and "pre" suffixed in the extension.

2. Code Metrics Reports

To generate the various Code Metrics Report,

-  Click Project → Generate Code Metrics

In the 'Code Metrics' dialog,

-   Select the target folder

-   Select the output format

-   Set the color coding - for high, medium and low values

-   Click < OK >

Please view the Help contents. (Html Documentation → Browsing in the .... → Code Metrics)

3. Publish Source Code

-   Click Project → Publish Source Code

-   In the ‘Source Code Publisher’ dialog, browse and select the destination folder

-   Click < OK >

4. Compile a File

To compile a file:

-   Click Tools → Compile

The errors and warning messages are displayed in the output window under the compile tab.

To select your compiler, settings, preprocessor directives, etc use the Options menu.

      Compile All To compile all files:

-   Click Tools → Compile All. The Compile Files dialog is displayed.

-   Select the files to be compiled.

-   Click < ComBatchOpeerationspile >

The errors and warning messages are displayed in the output window under the compile tab.

5. Running Batch Files

You can run any batch file from the Crystal C/C++ environment. To run a batch file:

-   Click Tools → Run User Batch File.

-   In the dialog, specify the Batch File to be executed

-   Click < Run >

<< Previous Table of Contents   |   Detailed Index Next >>