Skip to content

Instantly share code, notes, and snippets.

View .vimrc
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
View simple simulator
#include <time.h>
#include <stdio.h>
#include <string.h>
int countChars( char* s, char c )
{
return *s == '\0' ? 0 : countChars( s + 1, c ) + (*s == c);
}