Electronic Calculator
- 4 Devlogs
- 5 Total hours
A helpful program for a hobbyist! It will help with basic calculations while creating electronic projects.
A helpful program for a hobbyist! It will help with basic calculations while creating electronic projects.
I added a menu and fully finished Ohm’s law calculator.
From the menu you can now select what calculator you want to use. For now there aren’t too many options but there will be more in the future.
This section is now fully finished! You have to select what to calculate, input all remaining parameters and click Calculate.
So Ohm’s Law calculator is finished! You can select what to calculate and it will do just that.
As you can see everything is translated and has no impact on performance.
I still have to add a few calculators. I was thinking about:
I finished language manager. Adding translations is now quite easy. Just add a file and that’s it. Languages can be changed at runtime but it still has a few problem.
With addition of a new font all characters are displayed correctly. It now supports latin + cyrylic and of couse greek. And whatever else is in the font by default.
Ohm’s law section is starting to take shape.
Also I refactored a lot of code, cleaned up big files, moved code into function and different files.
I started working on a calculator that would help hobbyist with their electronic projects. Whenever I am designing a project, I use online calculator for many things: Ohm’s Law, Voltage Divider, Transmission Line. These are just the most common. With this project I intend to make it simpler by combining all of these calculators into one.
I decided to write the project in C++, because it’s my favorite language. As for the GUI Library I went with Dear ImGui with glfw and opengl3.
This project is meant to be multilingual, so I decided to make this system first. Languages are stored as text files with .lang extension. Language Manager load text form this file and stores it in a map. This way adding new languages is very simple.
Here you can see a quick demo showing that ImGui is working.