Thread: what dose this mean

  1. #1
    Registered User
    Join Date
    Feb 2013
    Posts
    4

    what dose this mean

    const double deg_to_rad = 57.3;

  2. #2
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    what do you think it means? did you do any of the work yourself? did you even try to look it up?

  3. #3
    Registered User
    Join Date
    Feb 2013
    Posts
    4
    i can't find it

  4. #4
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    there's this wonderful new tool. it's called google. I suggest you try it.

  5. #5
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    also I'd suggest that you read this article on how to ask questions the smart way.

    if you can't be bothered to even do that, then we can't, and won't help you

  6. #6
    Registered User
    Join Date
    Apr 2006
    Posts
    2,149
    What's confusing about it? It's a pretty basic constant declaration. The kind of thing you learn right in chapter 1 of a c++ book.
    It is too clear and so it is hard to see.
    A dunce once searched for fire with a lighted lantern.
    Had he known what fire was,
    He could have cooked his rice much sooner.

  7. #7
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    I suspect I scared him away.

  8. #8
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    I would also suspect it's backwards, based on the name given.

    Degrees to radians requires multiplying degrees by a constant of pi/180.

    Radians to degrees requires multiplying radians by a constant of 180/pi.

    This clearly doesn't answer your question, but that's okay, because I wasn't trying to anyway.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. dose any one know if this book is any good
    By Sshakey6791 in forum C++ Programming
    Replies: 0
    Last Post: 12-18-2008, 02:21 PM
  2. why dose this give me
    By IM back! in forum C++ Programming
    Replies: 19
    Last Post: 09-07-2008, 08:39 AM
  3. What dose this type casting mean??
    By zhoufanking in forum C Programming
    Replies: 4
    Last Post: 06-11-2008, 06:09 AM
  4. dose chart 2d array overflows?
    By Mathsniper in forum C Programming
    Replies: 15
    Last Post: 10-31-2005, 01:01 PM
  5. What dose C# offer over C++?
    By Eber Kain in forum C# Programming
    Replies: 8
    Last Post: 11-27-2001, 05:15 PM