From what I can gather from Google, I must have syntax/parsing error but I can't seem to locate it..
This is my header file:
#include <fstream>
#include <iostream>
#include <vector>
#ifndef DATA_H
#define DATA_H
#include "Data.h"
#endif
vector<Data*> DataReader(); // This is line 11, where the error is..
And this is the .cpp file:
#include "DataReader.h"
using namespace std;
vector<Data*> DataReader()
{
.....
}
I skipped the content of the DataReader() because I thought it was irrelevant but I can post it if needed. Below is the error that I get:
DataReader.h:11: error: expected constructor, destructor, or type conversion before '<' token
Thanks for any input/suggestions.