How I Learned to Love Pre-Merging

 

 

example's main.C

 

#include 
#include "corp_standards.h";

// Added even more meaningful comments.

int main()      {
        float num_pies = CORP_STD_NUMBER_OF_PIES;
        int   num_slices = CORP_STD_SLICES_OF_PIE;
        cout << "**************************************" << endl;
        cout << "**************************************" << endl;
        cout << "**************************************" << endl;
        cout << "**************************************" << endl;
        cout << "You get = ";
        cout << 100 * (num_pies / num_slices);
        cout <<  "% of a pie." << endl;
        cout << "**************************************" << endl;
        cout << "**************************************" << endl;
        cout << "**************************************" << endl;
        cout << "**************************************" << endl;
}


 
 

 


 

Return to Pre-merge front page