| | |
what happens if i dont delete the object?
Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved |
Well that depends on your OS.
Your average desktop with an OS which runs each process in a separate address space will reclaim the space when the program exits.
But if you're programming on say a mobile phone, where there is no virtual memory, and not a lot of operating system, then a thread which dies will just leave a big mess in memory with no clear way of fixing it.
Your average desktop with an OS which runs each process in a separate address space will reclaim the space when the program exits.
But if you're programming on say a mobile phone, where there is no virtual memory, and not a lot of operating system, then a thread which dies will just leave a big mess in memory with no clear way of fixing it.
![]() |
Similar Threads
- free() = delete or delete[]? (C++)
- while loop dont seem to work (C++)
- i need help please ! i dont know how to write this code in java programing . (Java)
- hijackthis log... what to delete?? (Viruses, Spyware and other Nasties)
- Please help (C++)
- New Win32 virus - i dont know what to do (Viruses, Spyware and other Nasties)
- delete operator in C++ and strings (C++)
- Unknown,numerous viruses?HJLog included. (Viruses, Spyware and other Nasties)
- Hijackthis log file - plz help (Viruses, Spyware and other Nasties)
Other Threads in the C++ Forum
- Previous Thread: need help in lib management project
- Next Thread: Simple pointer program crashses
| Thread Tools | Search this Thread |
api array arrays based beginner binary bitmap c++ c/c++ calculator char char* class classes coding compile compiler console conversion convert count data database delete desktop developer directshow dll dynamiccharacterarray email encryption error file forms fstream function functions game generator getline google graph homeworkhelper iamthwee ifstream input int integer java lib linkedlist linux list loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg sorting string strings struct template templates text tree unix url vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






