Search:

Type: Posts; User: jiapei100

Search: Search took 0.01 seconds.

  1. I now changed it to #define...

    I now changed it to

    #define TEST_FAST_SCALE_PQ(X,P,Q) \
    func( ( (X) * (P) ), (X), (X), (Q) );

    it still failed....
  2. Visual Studio won't be able to compile MACRO function with local variable?

    Hi, geeks:

    It seems Visual Studio is not able to build the following MACRO with a new local variable allocated.


    #define FAST_SCALE_PQ(X,P,Q) ({ \
    unsigned __x = (X); \
    ...
  3. "mi_cmd_var_create: unable to create variable object"

    Hi,

    Just wonder whether this is a bug of GDB?

    I'm trying the debug my project and would like to watch one of the member variables "m_iFrames" can not be watched !!!

    The error messages are...
  4. How to read a file stream entirely into a vector?

    I've got a file to read, well, read to a vector<short> m_vVoice;

    we all know that

    1 ) ios_base->ios->istream->ifstream

    2 ) istream& read ( char* s, streamsize n );


    So, I tried the...
Results 1 to 4 of 4