Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~2K People Reached
Favorite Forums
Favorite Tags
c++ x 9
Member Avatar for ahtaniv

Receiving exceptions from TAO with different minor codes... How do I decipher what is the problem using these minor codes? The explanation given in Wikipedia is a little confusing. This is what is mentioned in Wikipedia: Each standard CORBA exception includes a minor code to designate the subcategory of the …

0
50
Member Avatar for ahtaniv

1. Do we have static classes in C++? 2. If so what are they useful for? 3. Is this the name given to classes that should not be allowed instantiation? 4. If so, how is it different from abstract classes?

Member Avatar for Narue
0
185
Member Avatar for ahtaniv

Hello all, My understanding is that the Objects created are stored in the heap segment. What if the objects are created for a class with static data members? Do the static data alone reside in the data segment, while the rest of the members are allocated on the heap? I …

Member Avatar for ahtaniv
0
368
Member Avatar for ahtaniv

[CODE]class A { public: int a; A() : a(100) { } }; class B : public A { public: int b; B() : b(200){ } }; int main() { A a; B *ptrB =(B*)&a; cout<<ptrB->b<<endl; // Is there a way to get this to print 200?? }[/CODE]

Member Avatar for ahtaniv
0
159
Member Avatar for Asif_NSU

Hi there C /C++ experts... I have a confusion regarding the function free(void *) in C and [I]delete[/I] in C++. Suppose there is a pointer named p. In C++, we dynamically allocate memory for p to point at like this [CODE] p = new int [10]. [/CODE],then when we use …

Member Avatar for ahtaniv
0
748