lundi 4 décembre 2017

Getting a "Can't resolve variable of class" error when trying to access header variable

I have a container

std::map<std::string, int> map;

in an a6.hpp header file but when I try to access map in my source file, I get a "Can't resolve variable or class" error. I have a

#include "a6.hpp"

line but it's still giving me this error. Could someone help?

Aucun commentaire:

Enregistrer un commentaire