You cannot add to a void pointer in C. The compiler does not know the size.
28.004 görüntüleme
15 Yorum
Yorumlar X (Twitter) üzerindeki orijinal gönderiden alınmıştır

@signerless
this is what matters
5 beğeni

@jackisgeeky
You shouldn’t be using void pointers in the first place.
3 beğeni

@rayeppsonx
there was a time when i was addicted to the stanford and harvard cs class recordings
2 beğeni

@JETLABX
Good Lord… flashback nightmares… I despised Object C/C++ glad XCode lets me do stuff with Swift.
2 beğeni

@bullbear_info
Nothing like realizing at 2 AM that your pointer arithmetic on a void star just silently broke on ARM because the ABI handles things differently.
2 beğeni

@adrien_chauvet
Thank God, with AI it's becoming increasingly possible to create software without having to struggle with such hieroglyphs.
1 beğeni

@japaneseremedy
I am self taught and felt like an imposter for all the 15years until I watched this lecture, then I saw my true mind.
1 beğeni

@ZiomkowskiChris
I worked on a custom architecture that didn't have byte addressing, so char* was the same as int*. Assuming char* is only 1 byte wide is a very bad idea. You should cast void* to uint64_t and do your work as integers if you want it to be portable.
1 beğeni

@HaXX0R
hmm interesting.

@Floripa2006
2026 bro no one cares anymore

@realRiverC
void pointers, the real polymorphism

@DeadboyEzra
Boy, you don’t want my ass multiplying.

@Musk_Megan2026
No comprehend lol I actually don't know what you mean by this one explain please

@SuddenlyJon
void* can’t count. We measure in chars!

@clankenluben
Wow even more basic shit information will it ever stop thank you
