First project, simple calculator!

Posts 19 of 9 · Page 1 of 1
First project, simple calculator!
I just went through a java programming class that taught the basics of java. This is my first attempt at a scientific calculator thing! I spent a few hours on it and i was just looking for some pointers on what to improve on, although i plan on switching to C++ soonish because i think its better from what I've seen. (This is a huge work in progress, Its basically just concept right now, a lot of the math you can do is wrong. ive spent probaly 3 - 4 hours on it so far just figuring out small bugs and string manipulation)

VIRUS:
https://virusscan.jotti.org/en-US/fi...job/fsoppajrpk
https://www.virustotal.com/en/file/d...is/1464239693/
Attempted Scientific Calculator_mpgh.net.zip9 KB · 14 downloads 2/64 malicious
1.png137 KB · 78 downloads 2.png154 KB · 92 downloads
Congratulations on your first project!
Make a for loop for jButtons and have them each have a value of 0-9 and add buttons to your Calculator
I can't give you any feedback for improvement without looking at the source code. I recommend creating your own repository on GitHub, that way people that want to help and improve, can do so there.
Quote Originally Posted by xion2_ View Post
I just went through a java programming class that taught the basics of java. This is my first attempt at a scientific calculator thing! I spent a few hours on it and i was just looking for some pointers on what to improve on, although i plan on switching to C++ soonish because i think its better from what I've seen. (This is a huge work in progress, Its basically just concept right now, a lot of the math you can do is wrong. ive spent probaly 3 - 4 hours on it so far just figuring out small bugs and string manipulation)

VIRUS:
https://virusscan.jotti.org/en-US/fi...job/fsoppajrpk
https://www.virustotal.com/en/file/d...is/1464239693/
c++ and java are 2 completely different languages. Saying c++ is a better language generally depends on what use you have for it.
Ay! Congrats on that first project, but I'm gonna throw you a quick challenge.
Learn about JButtons and the MouseEvent and change it to buttons that store what's pressed. :P
If you get stuck with that challenge, feel free to hmu on here or Skype: the9thman :P
Congrats! To add some complexity to the next project, try and use a third party service like Firebase (for online functionality). Or, if you want to use Java for mobile apps, start learning Android Dev! It's tedious, but rewarding Gl
Good job, it works.
thank you for sharing
Posts 19 of 9 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

Need help?