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