Submitted by Mi-K on Monday, February 27, 2012 - 1:37pm
When you use OCaml on Linux for example, you cannot by default using the arrow from your keyboard, neither the completion.
If you try to use them you will have something like that:
# ^[[A^[[D^[[C^[[B^[[D^[[A^[[C^[[D^[[B^[[C
But there is readline wrapper named rlwrap that will help us in this task!
Submitted by Mi-K on Wednesday, February 22, 2012 - 2:45pm
It is sometimes useful to display the current date in your terminal.
For that the time() system call function is the best one.
Let's see an example within this tiny tutorial of C programming language:
Submitted by Mi-K on Sunday, January 15, 2012 - 5:43pm
The virtual keyword is used in different ways in C++.
The most common way to use it is before a destructor.
Indeed, with this virtual keyword we can specified that the children of a class will be deleted before its parent.
Submitted by Mi-K on Sunday, January 8, 2012 - 7:49pm
Errors and warnings generally encountered by a coder during his hard life of coder will be added here, in this special section.
I will not make difference between errors and warnings, because I always compile with CFLAGS such as -Wall -Werror -Wextra and thus warnings are treated as errors.