Like Tree2Likes
  • 1 Post By King Mir
  • 1 Post By Matticus

what dose this mean

This is a discussion on what dose this mean within the C++ Programming forums, part of the General Programming Boards category; const double deg_to_rad = 57.3;...

  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
    2,266
    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
    2,266
    there's this wonderful new tool. it's called google. I suggest you try it.

  5. #5
    Registered User
    Join Date
    Oct 2006
    Posts
    2,266
    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,019
    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.
    Elkvis likes this.
    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
    2,266
    I suspect I scared him away.

  8. #8
    Registered User
    Join Date
    Jun 2011
    Posts
    2,197
    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.
    Elkvis likes this.

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, 01: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, 12:01 PM
  5. What dose C# offer over C++?
    By Eber Kain in forum C# Programming
    Replies: 8
    Last Post: 11-27-2001, 04:15 PM

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