Message from @bentech
Discord ID: 473821119627919360
i dont wear printed t shirts
I don't wear underwear
'muricans using that other shitty brand calculator when casio is better in every way
then your pants smell like shit all the time
good luck
Want a whiff?
Kidding, I wear fundoshi only
Comfy for summer
hope my uniqlo store has naruto shirt instock
βΊ
I would like to talk more about effay things but I'm overdue whoring myself out to elderly rich woman so I can afford my lifestyle (^:
Nice Miata, mr hairdresser
Mr hairdresser?
I didn't want to call him a fag outright
Anyone who knows C can help me right now with fwrite?
let's encrypt ded
I know C @why am I ππππ₯π what is your problem
hello dear am C programmer too
@spaqin So when using the write function it returned the mmapedData backwards after the reverseArray function
So that is fine
But then putting that into the file gives a corrupted file that is the same file size
How corrupted
the file size is the same
so the data is certainly there
it's literally supposed to be backwards
Did you check the data in the program?
yes, that's what I see with the write() command in the code
it's prints that all out backwards in the terminal
You could've also somehow messed up the params?
looks like your encoding is wack
But I want that in a plain text
Or it could be UTF8
if it's anything except ASCII you can't just reverse the bytes and have it work
Or whatever utf
@Goz3rr no no
```
void reverseArray(char* mmappedData, int start, int end) {
int tmp;
while(start < end) {
tmp = mmappedData[start];
mmappedData[start] = mmappedData[end];
mmappedData[end] = tmp;
start++;
end--;
}
}
```