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