Search:

Type: Posts; User: pajaro

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    925

    Problem reading/writting binary files.

    Hello,
    I've a small program with 4 functions.
    The first one reads data from a file and returns it as a string(text_from_file)


    int read_file (char* file_to_open, char* text_from_file){
    ...
  2. Replies
    3
    Views
    1,202

    I really appreciate your help, I spent one day of...

    I really appreciate your help, I spent one day of my life without find any solution and you solved it in minutes!
    As you said using hex it worked ;)


    void put_zero(char *c){
    *c&= 0xfe;
    }
    ...
  3. Replies
    3
    Views
    1,202

    Bitwise Operations are getting me mad.

    Hello,
    first say I'm not good with bit operations (I'm still learning and practing with them) so if my question is so trivial forgive me.

    I'm trying to modify a bit of a character and keep the...
  4. Replies
    5
    Views
    10,083

    How to make itoa write the left zeros?

    Hello,
    I' trying to convert hexadecimal to binary, I'm using itoa and it seems to be working right, the problem is that it skip every zero at the left of the first one. Is there any way to force it...
Results 1 to 4 of 4