aboutsummaryrefslogtreecommitdiff
path: root/oop2w1/main.cpp
blob: e9d31976fe6c0b6ac18d834a2ea0a9d21425c1a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * DO NOT ADAPT THIS FILE!!!
 */

#include "ProcessFile.h"

#include <fstream>
#include <iostream>

#define szFilename "HuiswerkWeek1.dat"

int main()
{
    std::ifstream   cInput( szFilename, std::ios::in | std::ios::binary );
    ProcessFile     cProcessFile;

    if ( cInput )
    {
        cProcessFile.process( cInput );

        cInput.close();
    }

    std::cin.get();

    return 0;
}