Search:

Type: Posts; User: subhashish1213

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,323

    ***How to delete a pointer***

    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!!!!
  2. Replies
    5
    Views
    922

    Thanks a lot.....

    Thanks a lot.....
  3. Replies
    5
    Views
    922

    Sorry the code is like this... class...

    Sorry the code is like this...



    class cATT_BUS
    {
    ....
    ...code//
    ...
    };
  4. Replies
    5
    Views
    922

    Regarding Deleteing pointer!!!!!

    Hi friends...

    Can any one give me the solutions....




    int *m_ptr_ptr = new com::att::ib::Core_V1_0::NVPair

    .......
  5. Replies
    1
    Views
    674

    Regarding Deleteing pointer!!!!!

    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...
  6. Replies
    4
    Views
    1,381

    This is not the valid answer..If you really know...

    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...
  7. Replies
    4
    Views
    1,381

    Regarding Loss of Packets!!!!

    Hi Friends,

    Can anyone tell me what are the scenarios of data packet lost????

    Thanks in Advance!!!!!
  8. Replies
    8
    Views
    1,512

    You should try this before running GDB ulimit...

    You should try this before running GDB

    ulimit -c unlimited

    It might increase the size of stack....
  9. Replies
    16
    Views
    28,266

    Yaaaa Sebastiani... you are correct.... ...

    Yaaaa Sebastiani...

    you are correct....

    Thanks...
  10. Replies
    16
    Views
    28,266

    Thanks A lot Carle... Now I am much more...

    Thanks A lot Carle...

    Now I am much more clear...
  11. Replies
    6
    Views
    971

    auto_ptr is is a smart pointer.It works smartly...

    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...
  12. Replies
    4
    Views
    832

    virtual bool isCorrectAnswer(const std::string&...

    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...
  13. Replies
    16
    Views
    28,266

    No, sizeof this will give you 13: Code: const...

    No, sizeof this will give you 13:
    Code:
    const char A[] = "Hello World!";



    What will be the output of strlen(A) ??
  14. Replies
    16
    Views
    28,266

    Difference between strlen() and sizeof()

    Hi Friends,

    Can anyone tell me what is the difference between strlen() and sizeof()

    Thanks in Advance!!!!
  15. Replies
    2
    Views
    1,617

    Regarding 'strdup()'

    Hi friends,

    Can anyone tell me what is the purpose of strdup() function in C/C++??

    Thanks in Advance!!!!!
  16. Replies
    10
    Views
    1,561

    Thanks Mario F, Your suggesion really helps...

    Thanks Mario F,

    Your suggesion really helps me..

    Thanks a lot..

    Subhashish
  17. Replies
    10
    Views
    1,561

    Memory Leak!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!11

    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...
  18. Replies
    10
    Views
    1,561

    Thanks a lot friend!!!!

    Thanks a lot friend!!!!
  19. Replies
    10
    Views
    1,561

    Thanks a lot friend!!!!!

    Thanks a lot friend!!!!!
  20. Replies
    10
    Views
    1,561

    Memory Leak!!!!

    Hi Friends,

    I have a question!!!

    Actually memory is allocated for a particular variable like this :


    {

    struct InstanceDataStruct *instanceData;
  21. Replies
    5
    Views
    4,742

    Suspicious dereference of pointer before NULL check

    Its being generated by a memory profiling tool ..."klockwork"

    Thanks in Advance!!!
  22. Replies
    2
    Views
    726

    Regarding Pointer Again!!!!

    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;
  23. Replies
    4
    Views
    949

    Regarding Pointer again!!!!

    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;
  24. Replies
    4
    Views
    949

    Regarding Pointer

    Hi Friends,

    Can we initialize a non-zero value to a pointer variable?

    Ex : int *p=10;


    Thanks in Advance!!!!
  25. Replies
    5
    Views
    4,742

    Suspicious dereference of pointer

    Hi Friends

    What does this mean by this error:

    Error :"Suspicious dereference of pointer before NULL check"

    ====================================================
    Actually in my code snippet...
Results 1 to 25 of 26
Page 1 of 2 1 2