Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~2K People Reached
Favorite Forums
Favorite Tags

7 Posted Topics

Member Avatar for jerryjerry

Hi all, I have implemented overloaded function for operator new. In this function I have not allocated any memory still while exiting from program it is getting crashed. Code is as below: class A { public: int a; int b; A() { cout<<"Inside A::A()"<<endl; } void* operator new(size_t s) { …

Member Avatar for L7Sqr
0
241
Member Avatar for Hiiero

There will be a list<Soldier> inside Skill class. So every instance of the skill class will have the list of soldiers who are having that particular skill. Now for particular skill, Soldiers can be selected.

Member Avatar for thines01
0
155
Member Avatar for WASDted

Why do new developers want to use only C#, Java,.Net Programming Languages? Why C++ has become second preference to the developers?

Member Avatar for AuburnMathTutor
2
713
Member Avatar for jerryjerry

hi, Through getter setter methods we can indirectly access private data members of the class as shown in the below code. Then what is the significance of encapsulation in OOPS concept. I am not getting the appropiate answer for that. Can anyone help me? Thanks in advance [CODE] #include<iostream> using …

Member Avatar for Fbody
0
155
Member Avatar for jerryjerry

hello I am new to DOM Parser. I tried alot to write a XML file but not getting any result. I want to create one xml file then create all the nodes at run time. I am using xerces C++. Please give me some code snippets if possible or suggest …

0
51
Member Avatar for kneiel

Constructor is inbuilt in g++ compiler. when object is instantiated, compiler invokes it

Member Avatar for kneiel
0
96
Member Avatar for jerryjerry

hello everyone, My doubt is related to access specifier. There is one code snippet - [code=cplusplus] class Base { public: explicit Base(); static int object_count; protected: int id; }; class child: public Base { public: child(int val) : id(object_count++){} }; [/code] This code is giving compilation error that id is …

Member Avatar for jerryjerry
0
291

The End.