Blog:Memory Leak

From juliano.info

Jump to: navigation, search
A memory leak is unnecessary memory consumption by a computer program. The most common manifestion is the failure to release unused memory that has been allocated. A memory leak occurs when the program either loses the ability to free the memory or simply neglects to free memory it no longer needs. (source: Wikipedia, The Free Encyclopedia.)

Editions


Categories

Search for wikilog posts

Textual tree representation

Text tree example.png

This is something I need every once in a while, and I have to spend a few minutes remembering the algorithm every time. This time I decided to make this note so that I'll have it here the next time I need it.

This is usually called an ASCII tree, but that name would be inappropriate to this one since I used Unicode characters. There are many other similar algorithms around, this one is the one I use.

→ continue reading...

Documenting object-oriented C code with Doxygen

Doxygen 1.5.7, released Sep 28, 2008, implements a new useful feature of particular interest for people doing object-oriented programming in C or other languages that don't have native representation of such concept.

Object-oriented programming in C is not uncommon. It is usually done by promoting struct constructs to classes, and specific functions to methods. There are many different (but similar) ways to achieve this. Google provides plenty of links about object-oriented programming in C.

→ continue reading...

Views