graphics.h c++ code blocks code example Example: run graphics code in codeblocks initgraph(&gdriver,&gmode,"..\\bgi\\");