How do you add graphics to Code::Blocks?

How do you add graphics to Code::Blocks?
Answer
How to include graphics.h in CodeBlocks ?
  1. Step 5 : Open Code::Blocks. Go to Settings >> Compiler >> Linker settings.
  2. Step 6 : In that window, click the Add button under the “Link libraries” part, and browse. Select the libbgi. a file copied to the lib folder in step 4.
  3. -lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32.
 

Tìm kiếm

Back
Top