C language graphics programming (one-character screen)