| Tried the code u sent now still same errors!
c:\blackjack\card.h(47) : error C2040: 'i' : 'struct std::pair<int,int> *' differs in levels of indirection from 'int'
c:\blackjack\card.h(47) : error C2446: '!=' : no conversion from 'struct std::pair<int,int> *' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
c:\blackjack\card.h(47) : error C2040: '!=' : 'int' differs in levels of indirection from 'struct std::pair<int,int> *'
c:\blackjack\card.h(50) : error C2100: illegal indirection
c:\blackjack\card.h(50) : error C2228: left of '.first' must have class/struct/union type
c:\blackjack\card.h(50) : error C2100: illegal indirection
c:\blackjack\card.h(50) : error C2228: left of '.second' must have class/struct/union type
Error executing cl.exe.
Main.exe - 7 error(s), 0 warning(s) |