I found one of my first programs, which I wrote back in school.
The program is called Discrim. It was made to calculate the discriminant.

Let me briefly remind you what a discriminant is.
The discriminant is part of the formula for solving a quadratic equation. It helps you quickly understand how many solutions the equation has, even before you start calculating the roots.
For the quadratic equation ax² + bx + c = 0, the discriminant looks like this:
D = b² – 4ac
If D > 0, the equation has two different solutions.
If D = 0, it has only one solution.
If D < 0, it has no real solutions.
Simply put, the discriminant shows whether the parabola crosses the X-axis: two times, one time, or not at all.
I wrote this simple little program in April 2004. It is hard to believe that 22 years have already passed.
Back then, I was experimenting with C++ and liked building desktop applications in Borland C++Builder 6.
As you can see in the screenshot, the program has a russian interface.
My friend was also programming at that time, and he made the second version of this program, but in Borland Delphi 6.
Unfortunately, I do not have a copy of his program, so I cannot make screenshots and post them on the blog.
I will try to write a post soon about how I started programming and how my Software Engineer career began.
What were your first programs?

Leave a Reply