Hey guys. I started working on a calculator about an hour ago. It's not that great at the moment, but it's something. Especially for an hour's worth of coding from a C++ noob. If anybody wants to test and give me some feedback/bugs, I'll be happy to link the DL later. It currently has only four properly working functions.

-Addition-Subtraction-Multiplication-Division

I plan on adding for stuff like square rooting and multiplying using powers later on. This is a very small, useless project, I know. I'm just doing this so that I can get familiar with C++ in order to make CPPESB and modifications to the PAS engine. Thanks for your time.

I'm learning Java bymyself and here I am trying to make a calculator but for some reason I'm getting weird values can someone revise me.By the way I'm using my C++ knowledge as reference I don't know if it helps with java since some things are different.

Langdon99 wrote:I'm learning Java bymyself and here I am trying to make a calculator but for some reason I'm getting weird values can someone revise me.By the way I'm using my C++ knowledge as reference I don't know if it helps with java since some things are different.

I also just realized that you asked the user for three values, so the third number they entered would be the result. What you need to do to fix this is simply declare the variable and not assign it a value. The finished code would be like this.

Its pretty neat! Password seems out of place, and the program stops working if 11 or more numbers are used in a single number. (Was just seeing how many numbers it could handle at once)... Still looks good though.

Thanks I've updated this project a long time ago and the password protect system is now working, complete with a function that stores the password deep inside the darkest corners of your PC for later use. I'm going to work on adding several other things including quadratic equation solver and Pythagorean Theorem solver.

-Java

Age of Darkness

Maps: Music: Models: Scripts: Other: Visit the company website: (In progress (Expected to be released in two weeks :uber:) )Visit the company page on ModDB: Vulcanis Entertainment

Just in case you're interested. I'm learning c++ and Ruby through Thenewboston YouTube channel. he covers a lot of different languages and the videos are well organized so it's easy to find a specific one.