Search:

Type: Posts; User: grumpy

Search: Search took 0.05 seconds.

  1. Thread: Array to string

    by grumpy
    Replies
    6
    Views
    2,437

    Yes, you have misunderstood. The words "simple...

    Yes, you have misunderstood. The words "simple for loop" in my previous post expressed one possible mechanism of looping over elements.

    1011 in base 2 is equivalent to 1*8 + 0*4 + 1*2 + 1*1...
  2. Thread: Array to string

    by grumpy
    Replies
    6
    Views
    2,437

    A simple for loop, multiplying each digit by a...

    A simple for loop, multiplying each digit by a corresponding power of two and adding up in base 16 (hex) would do the trick.
Results 1 to 2 of 2