Question

This is a discussion on Question within the Linux Programming forums, part of the Platform Specific Boards category; How do I extract the "pow" function and the "sin" function in the linux std libraries so I can see ...

  1. #1
    Registered User
    Join Date
    Oct 2003
    Posts
    5

    Unhappy Question

    How do I extract the "pow" function and the "sin" function in the linux std libraries so I can see what values are returned, and what parameters are required for the function?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,849
    man sin
    man pow

    Type these commands at your command prompt
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Oct 2003
    Posts
    5
    Thanks!, I didn't know it was that easy. I was thinking it was going to be some big process just to find out a few little things.

    I take it you do a lot of C++ programming, for my job I mostly program GUI's in Java, and I'm also the Web page administrator for my Unit. so I don't do a lot of C++ except for this class I'm taking

  4. #4
    twm
    twm is offline
    root
    Join Date
    Sep 2003
    Posts
    232
    >so I don't do a lot of C++ except for this class I'm taking
    There's a man page for just about anything worth knowing in Linux, it isn't restricted to C++.
    The information given in this message is known to work on FreeBSD 4.8 STABLE.
    *The above statement is false if I was too lazy to test it.*
    Please take note that I am not a technical writer, nor do I care to become one.
    If someone finds a mistake, gleaming error or typo, do me a favor...bite me.
    Don't assume that I'm ever entirely serious or entirely joking.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Alice....
    By Lurker in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 06-20-2005, 03:51 PM
  2. Debugging question
    By o_0 in forum C Programming
    Replies: 9
    Last Post: 10-10-2004, 06:51 PM
  3. Question about pointers #2
    By maxhavoc in forum C++ Programming
    Replies: 28
    Last Post: 06-21-2004, 01:52 PM
  4. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 10:47 PM
  5. Question, question!
    By oskilian in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-24-2001, 01:47 AM

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