1: //TestStuff20160111.cpp
3: #include <iostream>
4: #include <string>
5: #include <cstring>
6: #include <cstdlib>
7: #include <iomanip>
8: using namespace std;
9: #include "utilities.h"
10: using Scobey::DisplayOpeningScreen;
12: int main(int argc, char* argv[])
13: {
14: DisplayOpeningScreen("Scobey:Porter:CSCI34201:A00123456", "Submission 01: ...", 3, 7);
15: //from the utilities package
17: //cout << "\nThe number of command-line parameters is "
18: // << argc << ".";
20: //cout << "\n\nHere is a list of all command-line parameters:\n";
21: //for (int i = 0; i < argc; i++)
22: // cout << argv[i]+1 << endl;
23: //cout << "Press Enter to continue ... ";
24: //cin.ignore(80, '\n');
25: //system("cls");
27: //cout << argv[1][1] << endl;
28: //cout << argv[2][2] << endl;
29: //cout << "Press Enter to continue ... ";
30: //cin.ignore(80, '\n');
31: //return 0; //redundant, since the standard says this is here by default
32: cout << 65 << endl;
33: cout << (char)65 << endl;
34: cout << (char)97 << endl;
36: cout << oct << 65 << endl;
37: cout << hex << 65 << endl;
38: cout << setw(6) << "" << dec << 65 << endl;
39: }