Beginner Programmer Seeks Creative Ideas for Graphics Project

AI Thread Summary
A beginner programmer is seeking advice on creating a graphics program using Turbo C, specifically looking for ideas that go beyond simple shapes like circles and lines. The discussion highlights the nostalgia associated with Turbo C and its graphics capabilities, particularly the Borland Graphics Interface (BGI) and the limitations of graphics modes based on the video card. Suggestions include plotting interesting mathematical functions with visible axes and distance marks. The conversation also touches on the historical context of graphics programming, mentioning the evolution of VGA and Super VGA standards, and the challenges of running older graphics examples on modern systems. Overall, the thread reflects a blend of seeking practical programming advice and reminiscing about past programming experiences.
Ali Inam
Messages
99
Reaction score
0
I am just a beginner of programming and till now I have done much simple programming, just like printing multiplication tables or different sequences of (*) using FOR Loop.

Now, last week, my teacher introduced us to the new graphics mode of the Turbo C, and at the end of a lesson, she asked to to make a satisfactory program by next wednesday which must include different graphics. The graphics which I have learned so far is to make colourful circles, lines or ellipses.

Now I need some advice because I can't really figure out what I really should make. First I thought about simple circles and lines, then I realized that is would be too simple.

Any help please, or simple ideas. I am just a beginner !

Thanks a lot !
o:)
 
Technology news on Phys.org
Reads like a post from the past.

Most likely graphic modes are not of Turbo C, but of graphic card.

Argh, I have a lot of sources with nice examples of what can be done, but they won't run under Windows.

Simple idea - try to draw a plot of an interesting function, like abs(cos(k*x)*exp(-x^2)), with both axes and distance marks visible.
 
Borek said:
Reads like a post from the past.

Most likely graphic modes are not of Turbo C, but of graphic card.

Argh, I have a lot of sources with nice examples of what can be done, but they won't run under Windows.

Simple idea - try to draw a plot of an interesting function, like abs(cos(k*x)*exp(-x^2)), with both axes and distance marks visible.

Yes it does. Turbo-c ( forget the name.. BGI borland graphics interface?).. had a nice library that would iterate the support graphics modes of your video card.

I remember there was some sort of quasi standard numerical codes for the modes.. like 0 - 16 for the vga cards, and 0 - 255 for the super vga??

just reminiscing really. This does take me back to when Borland ruled.
 
You don't want to get me started on bgi and VGA programming. BGI worked for both Turbo C and Turbo Pascal, but if you really wanted to do something interesting you had to directly program VGA card. VGA card standard graphic modes were not better than 320*200*256 (13h) and 640*480*16, although with some tweaking (so called mode x for 256 colors) it was able to display better ones (but only if it was a full VGA, with 256 kB of video memory, earlier and cheaper models could have only 64 or 128 kB). Super VGA was never a standard, each maker had its own version of graphic modes, that got sorted out with VESA standard.

Good old times :smile: I still have many of my Pascal programs doing fancy things on VGA card, just no computer to play with them :cry: My mode x voxel terrain demo made even its way to Pascal SWAG.
 
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