How can i overload the subscript operator [] with more than 1 dimension.. like [][][].. if possible pls give an example
Latest Answer: A static array is an array with fixed number of dimentions and each dimention will have fixed length. You can not change the dimentions of the Static array during runtime.ex: int arr[10][20] It has Two dimentions. Each fixed, one to 10 other to 20.Well ...
How can i overload the subscript operator with more than i dimension? if possible give an example.. pls dont ignore
Latest Answer: In C++ all the members of a structure are public by default as in case of C.However, C++ structures can contain member functions whereas a structure in C can contain only data.Structure in C++ are similar to a Class the only difference being that members ...
Latest Answer: i think u all guys are assuming wrong. constructors have the same name as its class name. and if we declare constructor as virtual, then it shoud be redefined in its derived class with the same ...
Anybody knows how to convert object of one class to object of another class using type conversion? i read in a c++ book simply assign it like this obj1=obj2 where both are objects of different classes..but its not working..plz tell ..thanks in advance :)
Latest Answer: a 3-d array is collection 2-d arrays as rows.ex: a[2][3][4] means 'a' contains two 2-d arrays of each size [3][4].first subscript 2 indicates that 'a' contains two arrays which have 3-rows and 4-coloumns. ...
View page << Previous 1 2 3 4 [5]

Go Top