[C++]PythagorasV2!

Results 1 to 3 of 3
  1. #1
    The Gamma..? EliteGM is offline
    MemberRank
    Jul 2006 Join Date
    NandolandLocation
    4,078Posts

    [C++]PythagorasV2!

    I've been learning C++ and needed something to easen up my homework, so I wrote this! You might have seen it in another thread. Filling in letters instead of numbers will crash it (on my todo list to fix that).
    I've changed some things from the version I posted there, so I now announce: PythagorasV2! No GUI, console does the job just fine.

    What does it do? It finds you the unknown side in a triangle, using Pythagoras' theorem! It doesn't only apply "sqrt(a*a + b*b)" (for finding the hypotenuse), it also applies to finding the other sides of a triangle.

    Download link (also includes the source): http://rapidshare.com/files/308773441/PythagorasV2.rar

    If you have comments, ideas, ways to shorten certain pieces of code, etc. don't hesitate to reply!
    Last edited by EliteGM; 18-11-09 at 03:20 PM.


  2. #2
    Status: Pooping eele is offline
    MemberRank
    Jul 2008 Join Date
    The NetherlandsLocation
    915Posts

    Re: [C++]PythagorasV2!

    Nice for practising:P I remember that I made something like this in PHP so I could get all the Math Operators;D

  3. #3
    The Gamma..? EliteGM is offline
    MemberRank
    Jul 2006 Join Date
    NandolandLocation
    4,078Posts

    Re: [C++]PythagorasV2!

    I don't know if this is the most up-to-date version btw. I posted it on another forum and kinda only replied there :p



Advertisement