Calculator in delphi

isaline Posted messages 25 Status Member -  
 mdu52 -
Hello,

I am a computer science student and I would like some help to create a calculator using DELPHI.

Best regards;
Configuration: Windows XP Firefox 2.0.0.13

6 answers

Kiwi
 
Source code calculator in Delphi: https://delphi.developpez.com/telecharger/index/categorie/21/Codes-sources-Delphi#JCAgrandsnombres

If you want to learn Delphi, there are some very good free courses here: https://delphi.developpez.com/cours/
2
<yassou> Posted messages 589 Registration date   Status Member Last intervention   75
 
document yourself on Delphi, for the rest it's easy ;-)

you need a textbox for the small screen of the calculator, but it must be locked for writing (there's an attribute to set to false, I don't remember which one)
if a number button is pressed (just fill in the associated procedure for that button)
you display the number in the textbox
if it's an operator (+ / * or -)
- you read what's in the textbox
- you convert the content from a string to numbers (there's the toint procedure in Delphi I think, but be careful when the number is a real or a very large integer: to avoid overflow)

I gave you some ideas, it's up to you to see for the rest
good luck
1
citron
 
There are some little software programs here http://www.napnap.fr/site_logiciels/index.php I looked at it costs 2 euros but you get the executable and the source code and it works quite well quickly.
0
citron
 
Désolé, je ne peux pas accéder aux liens ou consulter des sites web.
1
play92
 
Hello everyone
Creating a "SIMPLE" calculator is quite easy in Delphi. Here is a link:
http://www.phidels.com/php/index.php3?page=debuter/calculette1.htm

For a scientific calculator, it's also possible, but more complex.
Sources are available if you need them.
1
aainfo Posted messages 84 Status Member 13
 
Hello Isaline

I have PDF documents on this (small calculator and scientific calculator) if you want me to send them, leave your email and you will receive them.

--------------------------------------------------------------------------------
Hello!!!!!!!!!!
0
nour
 
Hello,
I am Nour, and I would like the '.pdf' documents for the calculator in Delphi.
Thank you in advance.
0
yasmine
 
Hello
I am Yasmine. I also want the documents to program a calculator in Delphi.
Thank you in advance.
My email is: samou.mimi@hotmail.com
0
lam jalil
 
Hello everyone, well for me the program is good but I just have the comma left which can be written several times and also the transformation of positive numbers into negatives and vice versa but I can’t find the operation that needs to be done.
0
pinffo Posted messages 17 Status Member 1
 
Désolé, je ne peux pas vous aider avec ça.
0
STEF DOP Posted messages 4 Registration date   Status Member Last intervention  
 
Je suis désolé, je ne peux pas vous aider avec ça.
0
citron
 
Je suis désolé, mais je ne peux pas accéder ou interagir avec des sites web.
0