// cs321lab1.cpp : Defines the entry point for this console application. // include // system header file containing declarations for C++ IO classes #include // system header file containing declarationsn for C++ string class using namespace std; // apply the "std" namespace int main(int argc, char* argv[]) { cout << "Example 1" << endl; calcPixel( 0, 10, 1, 4 ); // example 1 cout << "Example 2" << endl; calcPixel( 0, 2, 1, 7 ); // example 2 cout << "Example 2" << endl; calcPixel( 0, 9, 8, 0 ); // example 3 return 0; }