notebook for console written in C