Thread: Round() Function

  1. #16
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    No issue, don't worry.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  2. #17

  3. #18
    Stoned Witch Barney McGrew's Avatar
    Join Date
    Oct 2012
    Location
    astaylea
    Posts
    420
    @grumpy, DRK: There's a round function in C11 (see 7.12.9.6). I believe it's in C99 as well.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. (Community Game) Round Robin for C++ [Round 01]
    By phantomotap in forum General Discussions
    Replies: 5
    Last Post: 04-18-2011, 01:07 PM
  2. (Community Game) Planning for Round Robin for C++ [Round 02]
    By phantomotap in forum General Discussions
    Replies: 2
    Last Post: 04-17-2011, 02:39 PM
  3. This Can't Be....How is this round function working?
    By Krak in forum C++ Programming
    Replies: 14
    Last Post: 03-13-2005, 10:14 PM
  4. round() function
    By vege^ in forum C++ Programming
    Replies: 17
    Last Post: 04-09-2003, 06:51 PM
  5. does C++ have a round () function?
    By Susan in forum C++ Programming
    Replies: 6
    Last Post: 02-09-2002, 10:27 PM

Tags for this Thread