Search:

Type: Posts; User: xstone

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    2,485

    Can any guru take a look of it? :(

    Can any guru take a look of it?
    :(
  2. I don't know. I don't think it is any syntax...

    I don't know. I don't think it is any syntax error here. Or it is not the reason for compilation failure. I doubt if I need to overload operator new function in Mkey struct. Can anyone verify this?...
  3. Help!! compilation error for initilizing static set data member

    I could not compile the following code in window VC++. There are some syntax errors like:
    syntax error : missing ';' before '<' on line 17,

    However on UNIX, I think I can compile line 17, but I...
  4. Replies
    1
    Views
    2,485

    how to set a function to an alias in C shell

    In B shell's .profile, I set up as following:

    function mycd
    {
    if 'cd' "$@"
    then
    PS1="`uname -n`:`pwd` $ "
    fi
    }
  5. Replies
    2
    Views
    1,701

    Is errnum an external variable like errno?

    The strerror library function definition is :

    char *strerror (int errnum)

    It will map the integer errnum argument (which can be the errno value) to an error rmessage and return a pointer to the...
  6. Replies
    6
    Views
    1,804

    Zen, if my understanding is correct, you are...

    Zen, if my understanding is correct, you are saying the following code is correct with better performance? Can u verify?

    class Base
    {
    public:
    Base();
    protected:
    int m_data1;
    private:...
  7. Replies
    6
    Views
    1,804

    I think here I am trying to initilize m_data1 to...

    I think here I am trying to initilize m_data1 to 10, not 0. So it still need to assign value. Also, not sure why structure object could be use assignment initilization.

    BTW, any body knows the...
  8. Replies
    6
    Views
    1,804

    Initilize data member

    Here is the code:

    class Base
    {
    public:
    Base();
    protected:
    int m_data1;
    private:
    int m_data2;
Results 1 to 8 of 8