Could anyone define "Memory leaks" well ?
'cause pretty hard for me to understand with C++ books.
tenoran 0 Newbie Poster
Recommended Answers
Jump to PostA memory leak is simply allocating memory and failing to release it when you're done. Technically, the following illustrates a memory leak:
#include <iostream> using namespace std; int main() { int *p = new int; *p = 10; cout<< *p << endl; }
In practice, the operating …
Jump to PostHello Acidburn,
If you are going to do that, be sure to save your work first! I have done some expirements with linux processes, and was able to crash a computer in 20 seconds or so.
Christian
All 5 Replies
Narue 5,707 Bad Cop Team Colleague
tenoran 0 Newbie Poster
Acidburn 0 Posting Pro
kc0arf 68 Posting Virtuoso Team Colleague
Acidburn 0 Posting Pro
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.