Search:

Type: Posts; User: sparks

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    3,222

    Standard C++ API

    I am fairly familiar with Java and C# but new to c++. I feel it's very unclear where I should look for the standard c++ library documents. I found this one , provided by Microsoft, is pretty easy to...
  2. Replies
    9
    Views
    1,996

    Thanks Daved for correcting me. I got the idea...

    Thanks Daved for correcting me. I got the idea completely wrong.
  3. Replies
    9
    Views
    1,996

    So what's really the problem to that piece of...

    So what's really the problem to that piece of code :confused: ? Are we saying the "Super Moderator" didn't point out the right problem and I got it right :p ? I really wouldn't expect that as a...
  4. Replies
    5
    Views
    18,239

    Thanks Valis, that's clear now.

    Thanks Valis, that's clear now.
  5. Replies
    9
    Views
    1,996

    Hi, I am pretty new to C++. What I think about...

    Hi,

    I am pretty new to C++. What I think about the code is that the "get_buffer" function returns nothing. Because the pointer is a local variable of the function it will be freed as soon as it...
  6. Replies
    5
    Views
    18,239

    Thanks for reply guys. But Valis said: ...

    Thanks for reply guys.

    But Valis said:


    do you mean you have to explicitily destroy objects in the "stack"? But what I thought is that only objects in the "heap" needs to be "free"ed (in C)...
  7. Replies
    5
    Views
    18,239

    Where are pointers allocated in memory?

    Objects created by "new" and "malloc" are allocated in the "heap" while others are allocated in the "stack". But where is the pointers returned by such functions are allocated in the memory. Pointers...
Results 1 to 7 of 7