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"!
Type: Posts; User: Edo
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"!
Awesome, thanks. And thanks for replying with the "safe delete" function in my other thread, too!
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?
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;...
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...
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.
...
Thanks, that was a great analogy! Now I understand what went wrong, and I'll delete the pointer first.
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!...