Search the board for "malloc" and you'll find lots of examples.