I played a while trying the techniques suggested, it worked out. I further tried to use singleton to setup global variables. Eventually I said to myself, these are constants, not variables, so I fell...
Type: Posts; User: patiobarbecue
I played a while trying the techniques suggested, it worked out. I further tried to use singleton to setup global variables. Eventually I said to myself, these are constants, not variables, so I fell...
hey, thanks for reply. all I want is a global look-up table, mapping string to time_t. For the code I attached, what I want is to be able to use
pstart["USD_CAD"]
wherever I need a time_t...
Dear there, in my .cpp file, the compiler complains there is a syntax error for the last line? what's the error? thanks.
#include <iostream>
#include <iomanip>
#include <sstream>
#include...