| | |
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
Views: 1052 | Replies: 13
| Thread Tools | Search this Thread |
Tag cloud for C++
6 add api array arrays assignment beginner binary bitmap c++ c/c++ calculator char class classes code compile compiler console conversion convert count data database delete desktop developer directshow display dll encryption error file forms fstream function functions game getline givemetehcodez graph homeworkhelper iamthwee ifstream input int integer java lazy lib linux loop looping loops map math matrix memory multidimensional newbie news node number output parameter pointer problem program programming project proxy python random read recursion recursive reference return sort string strings struct studio system template templates text tree url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






