Forum: C++ Sep 22nd, 2008 |
| Replies: 1 Views: 485 HI
I have created an object pool in shared memory
each object encapsulates another object which in turn has a socket object which is a pointer
Now my question is, should the socket object be... |
Forum: C++ Sep 22nd, 2008 |
| Replies: 2 Views: 588 thanks for all your reply
my problem got solved
i have used vectors to solve the above problem |
Forum: C++ Sep 19th, 2008 |
| Replies: 2 Views: 588 Hi
I want to create an array as shown in the class below
everything is working fine, but at the end of execution of the program, there is a memory fault
Please help me in finding out the problem... |
Forum: C++ Aug 26th, 2008 |
| Replies: 5 Views: 1,005 From what i understood, if the default constructor in the class A inititalizes all the parameters, then there is no need to explicitly call the constructor in the Class B, for intiializing the array... |
Forum: C++ Aug 26th, 2008 |
| Replies: 5 Views: 1,005 consider the following code
class A
{
int aa;
public: A():aa(0) {}
}
class B
{ |
Forum: C++ Aug 26th, 2008 |
| Replies: 2 Views: 980 Sorry for all my previous posts
let me explain the exact problem
There is a singleton object in the shared memory. It conatins a pool of connection objects to a server. (more likely an array of... |
Forum: C++ Aug 25th, 2008 |
| Replies: 5 Views: 634 should I use a lock for each object in the array or a single lock is sufficient? |
Forum: C++ Aug 25th, 2008 |
| Replies: 5 Views: 634 Actually the object that iam trying to lock is an array of 3 objects. i want to have access of the object which is not locked from the 3 objects.
these objects are used for establishing a session to... |
Forum: C++ Aug 25th, 2008 |
| Replies: 5 Views: 634 hai plz help me
Iam locking an object in a function fun1()
and iam using that object in another function fun2() and unlockin it
will the lock still holds good in fun2()
the object is globally... |
Forum: C++ Aug 25th, 2008 |
| Replies: 4 Views: 1,000 thanks for the replies
i want to know how to check whether an object is being locked by a process or not |
Forum: C++ Aug 25th, 2008 |
| Replies: 4 Views: 1,000 Hi
iam a newbie to C++
I have a problem, pls give me a solution
I have an object in the shared memory which encapsulates an array of 6 objects. I want to acess one of the objects in the array.... |
Forum: C++ Jul 28th, 2008 |
| Replies: 5 Views: 601 what does the line cuexit.on_exit(??) at 0xd02198b4 indicate? |
Forum: C++ Jul 25th, 2008 |
| Replies: 5 Views: 601 i have checked it
no where in my main program, i have stepped off the end of an array |
Forum: C++ Jul 25th, 2008 |
| Replies: 5 Views: 601 hai
i have an application running on AIX 5.2 in C++
when iam trying to execute the application, everything is going fine, but on exit its getting core dumped, and the stack trace is as shown... |
Forum: C++ Jul 18th, 2008 |
| Replies: 2 Views: 369 Hi,
Iam very much new to programming and C++
please help me
I have an application that uses socket++ classes on Unix (AIX) environment
I have included #include<sockinet.h> in two of my .cpp... |