In CMS.h, you should add
right before the class definition, so the compiler can find the 'Table' class.
Also in 'Table.h' add:
Code:
#include <multimap>
and change
Code:
multimap<uint32_t, uint32_t> items;
to
Code:
std::multimap<uint32_t, uint32_t> items;
Finally in 'Table.cpp' you write:
Code:
#include <iostream>
#include <map>
#include <stdint.h>
#include <unistd.h>
using namespace std;
#include "Table.h"
You should generally avoid the 'using namespace xxx' commands, but if you want to use it, put it after all #include's.