Search:

Type: Posts; User: Hoang Bao Ngo

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    4,094

    I understand the error now thank you, it expected...

    I understand the error now thank you, it expected a pointer but I gave it a char, or what was in that address.

    I want to set the next place to a null so I use:
    *(boot_buffer+bytes_used++) =...
  2. Replies
    6
    Views
    4,094

    found out that calloc is better than malloc,...

    found out that calloc is better than malloc, since I gotta write and pad where there are necessary, so instead of remember where to pad, just pad all at the beginning and then start overwriting data....
  3. Replies
    6
    Views
    4,094

    Yeah seems like I have to do that. *(buffer +...

    Yeah seems like I have to do that. *(buffer + bytes_used), here I come.

    Thanks, gonna try this tomorrow
  4. Replies
    6
    Views
    4,094

    Buffer Pointer, fread, memset

    Need some reassurance



    Not wondering about syntax or semantics btw.

    Lets say I open a file and reading from it.

    /*reading ten char from file and store it in buffer*/
    char * buffer =...
Results 1 to 4 of 4