Where to find BGI file? - c++

I am trying to plot circle using graphics.h library but all the tutorials and examples I have seen had "C:\TurboC\BGI" in the initgraph() function. As long I understand, the mentioned path leads to the graphics driver, but in my my PC I was unable to find any BGI file.
I am using mingw-w64 environment on visual studio code.
Is there any different command or add-on I should install to access graphics programming in c++?
It would be a lot of help, if anyone can suggest any alternative way to do graphics programming in c++.

Go to https://github.com/ananay/turboc OR download Turbo C++ software then use the installation location (which is C:/ in above example) /TurboC/BGI
BGI files come with Turbo C++

Related

Is there any way to install OpenCV in C++ on Windows without using any IDE but only in cmd?

I am writing a educational program about OpenCV in C++ right now. And as for the question about fee and copyright. I'm now thinking if there exists any way to install C++ OpenCV only with cmd or PowerShell ?
I have already found many ways in the Internet, but they all told me that I have to use VS or other IDE or I should use python OpenCV. But as for the classes I will teach, I must use C++, so I want to know if there exists any way to solve this problem?

FMOD audio for my game engine

I'm working on a game engine in C++ and am using Visual Stdio 17 for the project. And for the Music and SFX, I want to use FMOD
I'm having trouble finding the correct tutorial to set it up though. I have installed the FMOD Studio API, but now need to know where do I put in the FMOD libraries.
If someone could help me or point me to the correct tutorial, it'd be nice.
FMOD setup in XCODE and Visual Studio
Also, here's a tutorial I found helpful for setting up a basic Audio Engine using FMOD.

C++ basic setup for using openGL

I have windows 8.1 OS.
I wanted to run a basic C++ program using openGL so i downloaded a compatible Turbo C++ software of 64 bit.
When I run my program I got errors because it said unable to open the header file i.e., graphics library. Are there any primary things like setting up a path in environmental variables, which URL should I paste? Or let me also please know if there's any other common things that I need to set up in-order to use the Graphics Library. Thank you.
Do not use Turbo C/C++ , Try any modern IDE (Codeblock , codelite , dev-c++ or any other). Read this
http://www.codeblocks.org/downloads/26
In IDE you will get all common header files plus examples , you will get an OpenGL example here . I suggest you to try codeblock.
Why not to use Turbo C/C++ (https://stackoverflow.com/a/1962710/4499919)
OpenGL isn't suppported by TC++.
However you can run a simple C graphics program using graphics.h
Open Options and select Directories from it.

how to install the VOGLE graphic library in windows

I found the VOGLE library described in C.Pozrikidis' book "introduction to C++ programming and graphics"
http://home.comcast.net/~urbanjost/CLONE/LIBS/LIBRARY/libvogle/html/index.html
http://www.autochthonous.org/eric/
Since I am a beginner, can anyone tell me if it is possible to use it in windows ?
Anyone else using it ?
You don't need to (cannot) install the library. You can however extract the pre-compiled version of the library from here. Download the tar.gz file under CYGWIN section. You should be able to link them to your Windows project and use them.

ide for c socket programming in windows 7

I am trying to learn socket/network programming in c. I tried using dev c++ and code lite for building and compiling my C codes. I am repeatedly getting missing header files error (sys/socket.h, sys/param.h etc.). When ever I download the missing files and place them in the directories, it keep on getting some files cannot be located error. I am really fed up. Kindly suggest me a good c compiler in which all libraries needed for the network programmings are included and which will not give me headache asking me to download the missing header files. Or is there anyway to download the complete library files required for compiling the socket programs in C using dev c++ or codelight??
BSD Sockets are on Linux. On Windows, there is winsock - and is bundled with MinGW.
You've tagged your question as C++ - in C++ there is Boost.Asio for socket programming.
And, for the record, please don't use Dev-C++ version 4.9.9.2. It's very old (2005). Use Code::Blocks or Orwell Dev-C++ instead.
Just install Visual Studio C++ Express and it would be a good idea to spend one or two days to get out the basics of how code generation works! ;-)