Thread: Converting 1100110.11 to base10

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Quote Originally Posted by Sipher View Post
    Now, for C/C++. 10 is decimal, 010 is octal, 0x10 is hexadecimal! Where's the problem?

    So, quzah, none of them is binary!
    Ah, so according to you, the first number we were asked to convert to base 10, was already in base 10. Thanks for playing!


    Quzah.
    Hope is the first step on the road to disappointment.

  2. #2
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,738
    Quote Originally Posted by quzah View Post
    Ah, so according to you, the first number we were asked to convert to base 10, was already in base 10. Thanks for playing!
    To answer to you, no it wasn't because its base was stated as binary!

    It's been nice playing!
    Devoted my life to programming...

  3. #3
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Quote Originally Posted by Sipher View Post
    To answer to you, no it wasn't because its base was stated as binary!
    No it wasn't. The OP never stated that it was in binary. That's the entire point of this thread, or have you not been paying attention at all here?
    Quote Originally Posted by Sipher View Post
    It's been nice playing!
    Indeed.


    Quzah.
    Hope is the first step on the road to disappointment.

  4. #4
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,738
    Quote Originally Posted by quzah View Post
    No it wasn't. The OP never stated that it was in binary. That's the entire point of this thread, or have you not been paying attention at all here?
    I didn't notice that!
    Devoted my life to programming...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Converting decimals to individuals
    By clag in forum C Programming
    Replies: 27
    Last Post: 10-03-2009, 03:08 PM
  2. Replies: 1
    Last Post: 09-20-2009, 07:39 AM
  3. Converting Sign Magnitude Integer Binary Files
    By Arthur Dent in forum C Programming
    Replies: 7
    Last Post: 09-13-2004, 10:07 AM
  4. Converting from Screen to World Coordinates
    By DavidP in forum Game Programming
    Replies: 9
    Last Post: 05-11-2004, 12:51 PM
  5. converting string to float
    By twhubs in forum C Programming
    Replies: 1
    Last Post: 09-16-2001, 09:02 AM