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