[DiscordArchive] anyone ever make a bunch of nodes and pool them?
[DiscordArchive] anyone ever make a bunch of nodes and pool them?
Archived author: robinsch • Posted: 2024-02-08T20:39:55.930000+00:00
Original source
88 / sizeof(T)
Archived author: robinsch • Posted: 2024-02-08T20:41:20.189000+00:00
Original source
Think about this:
int arr[10]
int a* = arr;
a++ or a = a + 1
Archived author: robinsch • Posted: 2024-02-08T20:42:05.098000+00:00
Original source
by how many bytes does a needs to get offset to point to the second int
Archived author: robinsch • Posted: 2024-02-08T20:43:49.571000+00:00
Original source
(IDA always shows offset in bytes no matter what data type it is) but ofc C++ doesn’t work that way
Archived author: robinsch • Posted: 2024-02-08T20:44:38.948000+00:00
Original source
So in your code example would would have offset the pointer by 8 * 4 because you incremented an int*
Archived author: balake • Posted: 2024-02-08T20:47:18.650000+00:00
Original source
Ahh I see that makes a lot of sense. thanks
Archived author: Kebful • Posted: 2024-02-08T21:11:25.494000+00:00
Original source
https://tenor.com/view/reverse-learning-...f-15232307
Archived author: Kebful • Posted: 2024-02-08T21:11:35.894000+00:00
Original source
*me when I try to understand wtf was just said*
Archived author: Fiffin • Posted: 2024-02-08T21:24:56.694000+00:00
Original source
kebful [when he grasp](https://tenor.com/view/grandmaster-of-de...f-16020781
Archived author: robinsch • Posted: 2024-02-08T21:25:41.060000+00:00
Original source
not everyone can be a *three star c programmer*