Search:

Type: Posts; User: patiobarbecue

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    2,383

    finally I choosed enum, thanks anyway

    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...
  2. Replies
    5
    Views
    2,383

    a global look-up table?

    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...
  3. Replies
    5
    Views
    2,383

    syntax error of map?

    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...
Results 1 to 3 of 3