Hi friends,
Can anyone tell me how to delete a double pointer ,means a pointer which contains the address of another pointer?
Thanks in Advance!!!!
Type: Posts; User: subhashish1213
Hi friends,
Can anyone tell me how to delete a double pointer ,means a pointer which contains the address of another pointer?
Thanks in Advance!!!!
Thanks a lot.....
Sorry the code is like this...
class cATT_BUS
{
....
...code//
...
};
Hi friends...
Can any one give me the solutions....
int *m_ptr_ptr = new com::att::ib::Core_V1_0::NVPair
.......
Hi Friends,
Can anyone tell me I am getting an error like this....
Passing '*this->m_ptr_ptr' as parameter after its value was freed. Object '*this->m_ptr_ptr' was used at line 184 after...
This is not the valid answer..If you really know the answer then you can list out some of the scenarios ....By the way for your kind information there is sufficient space available here...
Hi Friends,
Can anyone tell me what are the scenarios of data packet lost????
Thanks in Advance!!!!!
You should try this before running GDB
ulimit -c unlimited
It might increase the size of stack....
Yaaaa Sebastiani...
you are correct....
Thanks...
Thanks A lot Carle...
Now I am much more clear...
auto_ptr is is a smart pointer.It works smartly as if u declare this pointer and allocate memory dynamically for it then there is no need to deallocate memory for it using free() or delete, becoz its...
virtual bool isCorrectAnswer(const std::string& answer) const = 0;
This is a pure virtual function..means if it is declared in a class ,the class becomes an abstract class that means you can't...
No, sizeof this will give you 13:
Code:
const char A[] = "Hello World!";
What will be the output of strlen(A) ??
Hi Friends,
Can anyone tell me what is the difference between strlen() and sizeof()
Thanks in Advance!!!!
Hi friends,
Can anyone tell me what is the purpose of strdup() function in C/C++??
Thanks in Advance!!!!!
Thanks Mario F,
Your suggesion really helps me..
Thanks a lot..
Subhashish
HI Mario F.,
I have 2 catch statements within which 2 return statements are there.So should i need deallocate memory twice for your reference :
struct InstanceDataStruct...
Thanks a lot friend!!!!
Thanks a lot friend!!!!!
Hi Friends,
I have a question!!!
Actually memory is allocated for a particular variable like this :
{
struct InstanceDataStruct *instanceData;
Its being generated by a memory profiling tool ..."klockwork"
Thanks in Advance!!!
Thanks Friend!!!
Also I want to know 2 more things..
Can i declare like this:
1) int *p = 0; // I guess p here would be a NULL pointer.
2) int *p, q;
p = &q;
Thanks Friend!!!
Also I want to know 2 more things..
Can i declare like this:
1) int *p = 0; // I guess p here would be a NULL pointer.
2) int *p, q;
p = &q;
Hi Friends,
Can we initialize a non-zero value to a pointer variable?
Ex : int *p=10;
Thanks in Advance!!!!
Hi Friends
What does this mean by this error:
Error :"Suspicious dereference of pointer before NULL check"
====================================================
Actually in my code snippet...