graphics.h no such file or directory in code blocks code example Example: run graphics code in codeblocks initgraph(&gdriver,&gmode,"..\\bgi\\");