Related Posts
Reference: Passing functions as parameters in C
[c] #include <stdio.h> //Example to show how to pass //functions as parameters in C. //simple function that returns the sum of two ints int sum(int i, int j) { return i+j; } //simple function that prints a char* void printSomething(char* something) { printf("%sn",something); } //function that takes // 2 ints // 1 char* // one […]
How to enable source highlighting when doing `less mycodefile.ext`
How to enable source highlighting when doing less mycodefile.ext Install source-highlight sudo apt install source-highlight Configure it on your .bash_profile lessWithSourceHighlightSetup() { # location of the script may vary src_hilite_pipe_script=`dpkg -L libsource-highlight-common | grep lesspipe` export LESSOPEN=”| ${src_hilite_pipe_script} %s” export LESS=’ -R ‘ } lessWithSourceHighlightSetup Use it on any code file less -N /path/to/mycode.ext view […]
Googleâ„¢ Code Jam Latin America 2007
Registrate antes que cierren la competencia!!!! Representemos a Venezuela, cmon! Tienes hasta el 23 de Enero de 2007 a las 10am para registrarte, ya empezamos a realizar los problemas de calentamiento. Simon, Kakei, espero verlos por ahi. A los alumnos de la UCAB, es excelente experiencia participar en esta competencia, sobre todo si les gusta […]