No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
why subscript operator ([]) must be overloaded in member function?? one may say that because it will take one argument , but operation needs two operands...one the base address and second is index(offset). cdnt it be , if cd have been treated like binary operator as well like this class …
hi all, i have created a class names members which looks like this.. class mymembers{ int data; float dummy; char* thename; public : mymembers() { cout<<"the value of i is "<<data; data =12; } mymembers(int ic,char* name) { thename = name; data= ic; cout<<"hello this object's data value is "<<data<<endl; …
how did u solve that, plz tell me. even m facing the same problem
what happens at memory level....when one object is assigned to another.... i have written 2 classes.....1st named base class mybase and a subclass named subclass.... now i create object of baseclass... mybase b = new mybase(); //and now i create object of subclass subclass c = new subclass(); b=c; now …
The End.
abhi_iips