How to use borland C for drawing

  • Thread starter Thread starter freedom927
  • Start date Start date
  • Tags Tags
    Drawing
Click For Summary
SUMMARY

This discussion focuses on using Borland C for constructing and coloring a finite elements L-shape structure. Participants suggest utilizing the old graphics.h library for basic graphics functionality, while recommending OpenGL with GLUT or SDL for more advanced rendering capabilities. Additionally, the need for coding vector and matrix structures is highlighted, with references to Numerical Recipes as a potential resource for libraries. For those unfamiliar with coding, using MATLAB or Maple is proposed as an alternative approach.

PREREQUISITES
  • Familiarity with Borland C programming
  • Understanding of finite element methods
  • Knowledge of graphics libraries, specifically graphics.h
  • Basic concepts of OpenGL and SDL for rendering
NEXT STEPS
  • Explore the use of graphics.h in Borland C for basic graphics programming
  • Learn OpenGL with GLUT for advanced rendering techniques
  • Research vector and matrix structures in C for finite element analysis
  • Investigate Numerical Recipes for additional programming libraries
USEFUL FOR

Software developers, particularly those working in graphics programming, engineers involved in finite element analysis, and students learning Borland C or OpenGL rendering techniques.

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
 

Similar threads

Replies
3
Views
27K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 3 ·
Replies
3
Views
5K
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
9
Views
3K
Replies
86
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 43 ·
2
Replies
43
Views
8K
  • · Replies 8 ·
Replies
8
Views
1K