Playing with pointers

Phew, spent two days of my long weekend completing this little code snippet. It’s a good exercise to get myself back up to par with university graduates. During my career, I’ve seen stuff that are more twisted than my mere char **. For now, I have reached my limits and I will just be content with the fact that I managed to de-reference a pointer that points to a dynamically allocated array which contains pointers to dynamically allocated structures.

Do I smell memory leak?

I took the picture down because apparently, google search still finds it. Oh well here’s the project file and source code if you really want to take a look: lmproject

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>