February 2012 S M T W T F S « Oct 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 Categories
-
Recent Posts
Recent Comments
- Fabio Utzig on propertypp: Objective-C-like properties for C++ classes
- Fabio Utzig on Two Conclusions
- Fabio Utzig on Two Conclusions
- Mauricio Berni on Two Conclusions
- Fabio Mierlo on My trip to Seattle for the Amazon.com SDE interview
Archives
Category Archives: C
Run time machine code generation and execution
Some Common Lisp implementations (and I believe other languages’ also, but I don’t know of any) are incremental compilers, which means they are able to read Lisp code during program execution, compile it and make it immediately available for execution, … Continue reading
Posted in C, English, Programming
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
