Search:

Type: Posts; User: codegeru

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    5,820

    That sounds reasonable.

    That sounds reasonable.
  2. Replies
    7
    Views
    5,820

    Yap, that will be a good alternative for the...

    Yap, that will be a good alternative for the const array purpose in class.
    But the original problem still remains. Dose C++ allow the normal const array as the class member?
  3. Replies
    7
    Views
    5,820

    I agree for the explanation for const string*...

    I agree for the explanation for
    const string* stack[size] .
    Actually it create a normal array, not a const array. The only special thing is the elements of the array are pointers to const...
  4. Replies
    7
    Views
    5,820

    Regarding const array initialization

    I am reading Thinking in C++, and meet a very strange problem regarding const array initialization. The content can be referred to page 356 and 357, for code C08: StringStack.cpp.

    part of the...
Results 1 to 4 of 4