Sunday, November 27, 2011

C - Function pointer in a struct

Hello readers,

lately im not writing much, not because i don't have much to write about but because im writing a lot at work :P
This time im coming with a old style code, that i bet a lot of you hate.

C

In the next snippet you will see how to define a function inside a struct.
Personally i love to write code in C, not because it is a very productive language, because it isn't, but because it's always a challenge, you have to care about so much things, and you need to know so much about the computer and operative system internals, that every time you write some code in C you learn something new. Hope this snippet was helpful. See you soon ;)

Reference: http://www.cprogramming.com/tutorial/c/lesson1.html

Thursday, November 10, 2011

Node.js - How to read a file from file system

Hi readers,

here i am with a new technology, Node.js,

Node.js is a really cool framework that brings javascript to the server side. You can read more about it at nodejs.org .

In the mean time you can also check the following link: http://realtime.co

To start i am writing a post about how to read a file from file system: