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++) =...
Type: Posts; User: Hoang Bao Ngo
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++) =...
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....
Yeah seems like I have to do that. *(buffer + bytes_used), here I come.
Thanks, gonna try this tomorrow
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 =...