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