Search:

Type: Posts; User: Click_here

Search: Search took 0.03 seconds.

  1. Replies
    25
    Views
    2,882

    CHAR_BIT is a good idea -> That is in the...

    CHAR_BIT is a good idea -> That is in the standard header <limits.h>

    So all you hard work isn't wasted, make a function which rotates a string -> It's very easy to do.




    /*
    * Function -...
  2. Replies
    25
    Views
    2,882

    From your other post: "main" needs to...

    From your other post:



    "main" needs to return 0


    binNum needs to be freed to avoid a memory leak
  3. Replies
    25
    Views
    2,882

    Your string literal is not actually a number...

    Your string literal is not actually a number 11001, it is a string containing ASCII characters.

    0==0x30
    1==0x31

    Ascii Table - ASCII character codes and html, octal, hex and decimal chart...
Results 1 to 3 of 3