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
Type: Posts; User: dee.dw
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
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&...
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...
@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 { //...
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[]......
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...