Make sure that Cards::init()
is called and returns true before calling Cards::load
. The array accessed by Cards::load
will consist of three empty strings in case Cards::init()
is not called, or if it returns false.
1
solved How to print std::string array with printf in c++? [closed]