#include <vector>
#include <utility>
class S : publicclass Number{
private:
static std::vector<std::pair<std::string, double>> Zmienna::x;
}
rest of the code should not be important, I don't understand what i'm doing wrong
I have error: Error 2 error LNK2001: unresolved external symbol "private: static class std::vector<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,double>,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,double> > > Zmienna::zbior" (?zbior@Zmienna@@0V?$vector@U?$pair@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@N@std@@V?$allocator@U?$pair@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@N@std@@@2@@std@@A) C:\Users\Szymon\Moje studia\C++\zad7\Zadanie\Wyrazenie.obj Zadanie