Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
bgi エラー グラフィックスが初期化されていません ('use initgraph')
これは私が得ているエラーです。BGI パスと言及されている他の解決策を変更した後でも、私は克服できません!
問題は、間違ったディレクトリを探していることではなく、Borland Graphics Interface では、実際に描画するinitgraph() 前に呼び出す必要があることです。これは次のようになります。
initgraph()
initgraph(&gd , &gm ,"C:\\TurboC\\BGI");
コメントの提案、つまり、より最新のグラフィック パッケージを使用することも、優れたアドバイスです。