Welcome to Dream.In.Code
Getting Help is Easy!

Join 86,252 Programmers. There are 2,114 online right now! Ask your question and get quick answers from Dream.In.Code experts. Join the #1 programming help community on the internet! Registration is fast and FREE... Join Now!

Chat LIVE With a Expert
Powered by LivePerson.com

Register to Make This Box Go Away!

My Advanced Calculator (Console Based)

 
Reply to this topicStart new topic

My Advanced Calculator (Console Based), Vectors, Reals, Sets...

TheMagnitude
post 20 Apr, 2008 - 07:23 AM
Post #1


D.I.C Head

Group Icon
Joined: 12 Jan, 2008
Posts: 87



Hello, my first major C++ project is this console based calculator. It has over 50 different operations and functions which are all documented in "documentation.rtf".

Some of it's functions are:

Standard Deviation:

stddev{1,5,1,2,4,9,1,2,100,0.6,-4}

Pearson's Moment Correlation Coefficient (Will be in next version):

{1,5,1,2,4,9,1,2,100,0.6,-4}pmcc{1,5,1,2,4,9,1,2,100,0.6,-4}

Angle between vectors:

[1,2,3]angle[76,1,3]

Dot product:

[1,2,3]dot[76,1,3]

Cross Product

[1,2,3]cross[76,1,3]

Triple Scalar product:

[8,21,3]dot[1,2,3]cross[76,1,3]

Greatest Common Divisor:

12gcd18


And really theres far too many good functions to list here so I'll stop there and you can look in the documentation if you want to see them.

An example executing a calculation:

5+2/10+sin80-([1,5]angle[6,1]+2log8)

The source is also avaliable on my website for members if you want to learn from that.

If you download please give feedback so I can continue this great project smile.gif

Link to my website with downloads
User is online!Profile CardPM
Go to the top of the page
+Quote Post


TheMagnitude
post 24 Apr, 2008 - 03:45 PM
Post #2


D.I.C Head

Group Icon
Joined: 12 Jan, 2008
Posts: 87

I can see the tumbleweed now...
User is online!Profile CardPM
Go to the top of the page
+Quote Post

Spikes of Christ
post 26 Apr, 2008 - 09:26 PM
Post #3


New D.I.C Head

*
Joined: 19 Dec, 2007
Posts: 30

It needs a GUI to get people interested.. maybe I'll do it once I take a look at it.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Tom9729
post 27 Apr, 2008 - 09:14 AM
Post #4


D.I.C Addict

Group Icon
Joined: 30 Dec, 2007
Posts: 574

Cool but I usually just use Lisp to do my math homework. smile.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 5/16/08 09:06AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month