Search:

Type: Posts; User: Edo

Search: Search took 0.00 seconds.

  1. Nope, but that's where I am in the tutorial,...

    Nope, but that's where I am in the tutorial, ahaha
    Give me a little time... I'm still in the crawl stage of "crawl, walk, run"!
  2. Awesome, thanks. And thanks for replying with the...

    Awesome, thanks. And thanks for replying with the "safe delete" function in my other thread, too!
  3. Newbie question about Variable Argument Lists for Functions

    If you have a function which can accept a variable number of arguments, how can you find out how many arguments were passed to it?
  4. Replies
    18
    Views
    3,452

    Heya, I'm new too! The problem here is that every...

    Heya, I'm new too! The problem here is that every time the user enters the temperature, it gets written to Temp -- you are accidentally overwriting Temp every time.


    for ( int i=0;...
  5. Replies
    5
    Views
    1,635

    Thanks for your responses guys, I'll stay aware...

    Thanks for your responses guys, I'll stay aware of the allocations my code makes.


    So, as an example, I should think of
    delete point_to_struct; point_to_struct = 0; as a way to destroy and...
  6. Replies
    5
    Views
    1,635

    Pointer memory question

    So I started the linked list tutorial here and decided to put my understanding to a test. The objective: write code that could go through a list, delete all the pointers, and reclaim the memory.
    ...
  7. Replies
    3
    Views
    2,291

    (solved)

    Thanks, that was a great analogy! Now I understand what went wrong, and I'll delete the pointer first.
  8. Replies
    3
    Views
    2,291

    Easy pointer question

    Hi all,

    This is a great site. I'm doing the tutorials now, and I ran into a minor hitch:


    Deleting the pointer before resetting it to 0 gives me this error:
    Debug Assertion Failed!...
Results 1 to 8 of 8