aboutsummaryrefslogtreecommitdiff
path: root/oop2w1/ProcessFile.hpp
blob: 37b82d40f82c630026cc2a806d675e4e43d6daa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include <iostream>

#include "ProcessFile.h"

template <typename T>
void ProcessFile::read_and_print(std::ifstream &file) {
	T waarde;
	file.read((char*) &waarde, sizeof(T));
	std::cout << waarde << std::endl;
}