Code::Blocks

User forums => General (but related to Code::Blocks) => Topic started by: shreyanmehta on January 20, 2017, 06:41:26 am

Title: initgraph method last parameter
Post by: shreyanmehta on January 20, 2017, 06:41:26 am
in turbo c we can use this initgraph method and have the third param the location of bgi folder...but in codeblocks there is no bgi folder so what to do to use it...
I have already downloaded the graphics.h and 2 other things from this link
http://winbgim.codecutter.org/
please provide a solution at the earliest since for a school thing its required
Title: Re: initgraph method last parameter
Post by: stahta01 on January 20, 2017, 06:52:56 am
Please learn the name of your compiler! (Note: I am guessing that you are NOT really using "turbo c" Compiler)
And, post your compiler name and version when doing a post.

Please also read the rules for this site! http://forums.codeblocks.org/index.php/topic,9996.0.html (http://forums.codeblocks.org/index.php/topic,9996.0.html)

Note: I have no idea if Code::Blocks works with the "turbo c" compiler; since the "turbo c" does NOT work with most modern versions of Windows OS. If you are really trying to use "turbo c"; you will likely have to find support some where else.

Tim S.
Title: Re: initgraph method last parameter
Post by: stahta01 on January 20, 2017, 06:59:15 am
Please also read this FAQ.
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F)

Edit: Some smart people in the past used this site to fix a related problem.
https://github.com/stahta01/windows-games (https://github.com/stahta01/windows-games)

Tim S.