How to use borland C for drawing

  • Thread starter Thread starter freedom927
  • Start date Start date
  • Tags Tags
    Drawing
AI Thread Summary
The discussion centers on using Borland C to create a finite element L-shape structure and color it. It is noted that Borland C lacks built-in graphics libraries, prompting suggestions to use the older graphics.h library or consider OpenGL with GLUT or SDL for rendering. OpenGL is recommended for its ease of learning and versatility. Additionally, the conversation highlights the need for coding vector and matrix structures for finite element analysis, with a reference to Numerical Recipes for potential libraries. For those unsure about coding, using MATLAB or Maple is suggested as an alternative approach.
freedom927
Messages
2
Reaction score
0
hello, i would like ask something about the borland C. The question is how to use borland C to construct a finite elements L-shape structure in borland C:confused: ? And how to colour the structure by using borland C:confused: ?
Help, this urgent...:cry:
Thanks.
 
Technology news on Phys.org
i don't think borland has imbedded grpahics libraries...

You could always try to find good old graphics.h (with its other libraries)
though Opengl with{Glut or SDL,the rendering windows} is open source.
Personally I prefer Opengl/sdl but with glut its pretty easy to learn.

With finite elements- I assume you also need to code some vector/matrix structs. Not sure if there are any open source libraries for those, but numerical recipes( nr.com) has its libraries for use.
If in doubt code it in Matlab/Maple
 
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