Problems on running graph with c

  • Thread starter Thread starter kthouz
  • Start date Start date
  • Tags Tags
    Graph Running
AI Thread Summary
The discussion centers around a user experiencing a "BGI Error: graphics not initialized (use 'initgraph')" message while running a Turbo program with graphics on a VISTA Premium system. The issue suggests that the graphics library is not properly initialized, and the recommended solution is to include the 'initgraph()' function near the start of the program. There are no indications that a system change or additional installations are necessary, as the problem appears to be related to the program's code rather than the system itself.
kthouz
Messages
188
Reaction score
0
Hi!
I am using a a VISTA Premium system. When i write program containing graphs with turbo and i try to run it a message appears on the screen as " BGI Error: graphics not initialized (use 'initgraph')" .
So can somebody tell me what's wrong with my system. Do i have to change it or i have to install something else,... please help me!
 
Technology news on Phys.org
You might want to put the statement initgraph() somewhere near the start?
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top