Results 1 to 9 of 9
  1. #1
    xion2_'s Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    6

    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/
    Attached Thumbnails Attached Thumbnails
    1.png  

    2.png  

    <b>Downloadable Files</b> Downloadable Files
    Last edited by xion2_; 05-26-2016 at 10:51 AM.

  2. The Following 2 Users Say Thank You to xion2_ For This Useful Post:

    PurpleOldMaN (02-14-2017),Ticherhaz (05-29-2017)

  3. #2
    Salem's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    127.0.0.1
    Posts
    1,456
    Reputation
    46
    Thanks
    159
    My Mood
    Lurking
    Congratulations on your first project!

  4. The Following User Says Thank You to Salem For This Useful Post:

    xion2_ (05-28-2016)

  5. #3
    Eggspurt's Avatar
    Join Date
    May 2016
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Make a for loop for jButtons and have them each have a value of 0-9 and add buttons to your Calculator

  6. #4
    twas brillig's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Location
    Southeastern USA
    Posts
    54
    Reputation
    10
    Thanks
    77
    My Mood
    Amused
    I can't give you any feedback for improvement without looking at the source code. I recommend creating your own repository on ******, that way people that want to help and improve, can do so there.
    Software Developer, Educator, and Gamer.

  7. #5
    Sammy's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Location
    Vaero
    Posts
    1,102
    Reputation
    224
    Thanks
    228
    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.

  8. #6
    joshyyf's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    My Mood
    Lurking
    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

  9. #7
    nilcero's Avatar
    Join Date
    Mar 2019
    Gender
    male
    Posts
    19
    Reputation
    10
    Thanks
    0
    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

  10. #8
    mnwd's Avatar
    Join Date
    Aug 2019
    Gender
    male
    Location
    Germany
    Posts
    104
    Reputation
    18
    Thanks
    13
    Good job, it works.

  11. #9
    jawo60's Avatar
    Join Date
    Jan 2015
    Gender
    male
    Location
    North,Korea
    Posts
    12
    Reputation
    10
    Thanks
    1
    My Mood
    Crappy
    thank you for sharing

Similar Threads

  1. [Release] Random Password Generator (Simple But Very Usefull) - My first project ever!
    By SilentHunter7 in forum CrossFire Spammers, Injectors and Multi Tools
    Replies: 8
    Last Post: 03-21-2012, 08:49 AM
  2. ~FIRST PROJECT~
    By sql1njection in forum Combat Arms Discussions
    Replies: 47
    Last Post: 08-02-2010, 05:15 AM
  3. Simple Calculator W/O Classes
    By Dev_Pump in forum C# Programming
    Replies: 11
    Last Post: 06-11-2010, 09:13 PM
  4. Visual C# First Project :)
    By Shocker2010 in forum C++/C Programming
    Replies: 13
    Last Post: 03-15-2010, 10:47 AM
  5. My first project
    By InHuman in forum Visual Basic Programming
    Replies: 27
    Last Post: 02-02-2010, 07:31 PM

Tags for this Thread