November 24th, 2013, 02:39 PM
I get compile time errors.
November 24th, 2013, 02:03 PM
class B b_obj;
C c_obj=b_obj.test("some",89); // I cannot get this done.!
Below are .h files:
November 24th, 2013, 01:58 PM
Sorry didn't understand. Got lost in reference, bind. :(
I am noob in C++/C/pointer/reference world.
November 24th, 2013, 12:01 AM
No, map doesn't need to be changed, I shall change it to const.
Can you please help me understand why //object.test(object.ret_poly()); fails? :(
November 23rd, 2013, 10:41 PM
int main(int arg_count, char** argv)
November 7th, 2013, 11:37 AM
Thank you for such a great explanation and helpful URLs.
November 7th, 2013, 01:41 AM
I am new to c++ and in process fo understading and learning string class.
I am working on istringstream
std::string value="32 40 50 80 902";
November 5th, 2013, 12:51 AM
Apologies for the inconvenience caused.
Thank you for the help.
I have now added default constructor.
November 3rd, 2013, 07:28 PM
Hi I am learning C++, and trying for object composition.
I have 2 classes: Point and Creature.
Point->int x and int y
Creature:-> Point location and string name
Below is my Point class header
October 31st, 2013, 04:25 PM
Thank you once again.
October 31st, 2013, 04:07 PM
@PM2kaud- Thank you for your reply.
So basically with string, the base address is passed and
cout prints until it finds '\0'
Please correct me, if I am wrong.
October 31st, 2013, 01:43 PM
I am new to pointer world. I have started programming in c++ and have basic knowledge in c.
This prints 'e'
if I print: