newbie needs help writing prgrm

This is a discussion on newbie needs help writing prgrm within the C++ Programming forums, part of the General Programming Boards category; im trying to write a program that will let the user put in the formula... like if they wanted to ...

  1. #1
    Unregistered
    Guest

    Angry newbie needs help writing prgrm

    im trying to write a program that will let the user put in the formula... like if they wanted to put in the formula for slope they could put in answr=var1*var2+var3.. i just want to know if there is a predifined function for the user entering in code... if not dont worry bout it ill wait till i get more knowledgeable and i will write the code

    thanks to all who reply

  2. #2
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    Probably not, and plus, that ain't the slope formula, it's
    Code:
    slope = change in y / change in x
    
    or for example: slope = 1 - (-3) / 4 - (-5)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Folding@Home Cboard team?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 398
    Last Post: 10-11-2005, 09:44 AM
  2. help! fifo read problem
    By judoman in forum C Programming
    Replies: 1
    Last Post: 08-16-2004, 10:19 AM
  3. Newbie - How do I know if I'm writing C code?
    By dfinner in forum C Programming
    Replies: 4
    Last Post: 07-31-2002, 05:17 PM
  4. Help writing calculator program (newbie)
    By Danny 2 in forum C Programming
    Replies: 3
    Last Post: 07-25-2002, 07:44 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21