In gcc,not yet heard of graphics.h,but ncurses library exists..
The ncurses (new curses) library is a free software emulation of curses in System V Release 4.0 and more. It uses terminfo format, supports pads and color and multiple highlights and forms charcters and function-key mapping, and has all the other SYSV-curses enhancements over BSD curses. It should port easily to any ANSI/POSIX-conforming UNIX-like system. On systems supporting libiconv, the library can be built to support wide- and multibyte-character applications, e.g., UTF-8.
The distribution includes the library and support utilities, including a terminfo compiler tic, a decompiler infocmp, clear, tput, tset, and a termcap conversion tool captoinfo.
http://directory.fsf.org/libs/ncurses.html
for
VB in Linux..i donknow...perhaps mono may help you...
http://www.mono-project.com/Mono:About