Search:

Type: Posts; User: dee.dw

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    982

    Thanks for your answer... Yes, that was my...

    Thanks for your answer... Yes, that was my problem. I misinterpreted the way opf the second function! It will work when I use a const object... :)

    Greetings, Dee
  2. Replies
    3
    Views
    982

    Overloaded operator[] question

    I have a simple question but could find the answer in a thread...

    I have a myString class and overloaded the operator[] with


    char& operator[](unsigned int index);
    const char&...
  3. Replies
    7
    Views
    2,096

    Different sizes in each entry as you said would...

    Different sizes in each entry as you said would be the next. And I think the only way to init these arrays is with a ingle initialisation as you mentioned it...

    At this time I do it as:

    Int...
  4. Replies
    7
    Views
    2,096

    @durban: The [b] was vB-Code. :) Should be bold,...

    @durban: The [b] was vB-Code. :) Should be bold, but I correct it now... I hope the meaning is now a little bit clearer.

    And you want code, so I post some:

    class IntArray { //...
  5. Replies
    7
    Views
    2,096

    Hello! Unfortunately I think I've posted in...

    Hello!

    Unfortunately I think I've posted in the wrong board. It should be a C++ problem! Some mod may be so nice and move it please.

    IntArray is just a class with something like int *A[]......
  6. Replies
    7
    Views
    2,096

    Create arrays with constructor problem

    Hello,

    I think the title i snot the best. Here is my problem:

    IntArray v(7); // creates an integer array with size 7
    IntArray v[10]; // creates an array with 10 elements where each element is...
Results 1 to 6 of 6