Monthly Archives: May 2009

Fibonacci

Um Coelho Mais dois E ainda outro Seguem assim até o infinito

Posted in Poetry, Português | Leave a comment

Using feof() and fread()

When reading single bytes from a file in C, one must pay attention to the correct usage of feof() and fread(). At first, the following piece of code seems to work correctly: const char *filename = "hello"; unsigned char byte; … Continue reading

Posted in C, English, Programming | 3 Comments