Search:

Type: Posts; User: danath

Search: Search took 0.01 seconds.

  1. Thanks. It's clear summary.

    Thanks. It's clear summary.
  2. Can some one help to correct my understanding?

    Hi there, I just found a possibly big mistake in my C++ understanding.

    In below code, BBB:: print overwrites AAA:: print which is virtual, but there is no virtual keyword in BBB. Does this mean...
  3. Thanks to you guys for the replies. Actually I...

    Thanks to you guys for the replies.

    Actually I was trying to find a way to do this with template other than macro, but after google searching seems my question finally turns out to be...
  4. Can the new string literal prefix in C++11 be adaptive?

    Hi there,

    C++11 introduces new string literal prefixes: u8, u, U.

    Sometimes my framework needs to change the default character type (by changing a typedef), for example in this program the type...
  5. Replies
    3
    Views
    1,204

    Thanks for the reply, but I did not find anything...

    Thanks for the reply, but I did not find anything interesting in /usr/include/linux/fb.h. Do you have some hints?
  6. Replies
    3
    Views
    1,204

    I suspect the issue is related to the video...

    I suspect the issue is related to the video card's RAMDAC size (for standard VGA it's 6 bits for each color component, for some super VGA it's 8), but I could not have this size during code...
  7. Replies
    3
    Views
    1,204

    DAC size with vesafb?

    Hi there,

    I am programming with Linux vesafb and below is my code which works for mobility radeon 7500 but does NOT work for GT 330M:



    unsigned short R = (Pixel.R << 8);
    unsigned short G =...
  8. Replies
    7
    Views
    3,519

    You can try boost::lexical_cast which is powerful...

    You can try boost::lexical_cast which is powerful & convenient.

    lexical_cast
  9. Thanks. Another good news. Do you know which...

    Thanks. Another good news.

    Do you know which compiler is supporting this?
  10. yes, I just built gcc 4.4.1 (quite smooth to...

    yes, I just built gcc 4.4.1 (quite smooth to build it with gcc 4.4.0, but toooo long time) and it worked to compile above syntax, good news to me.
  11. Thanks, anon. Your suggestion should be...

    Thanks, anon.

    Your suggestion should be workable, but when the compiler sees an ini list ({...}), it will store it into an object of std::initializer_list, so to change this behavior the client...
  12. how to initialize std::array with std::initializer_list in C++0x?

    Hi,

    I am studying C++0x with gcc 4.4.0 these days.

    Here I need to initialize a std::array object within a function which has a parameter of type std::initializer_list, as below:


    ...
Results 1 to 12 of 12