4 ms·
Hmm, this can be done with macros in C/C++ right? It could also just be defined in the "setter" for x, that x Y = x + 2, so everything you update x you update
by blharr 2y ago
Hmm, this can be done with macros in C/C++ right?
It could also just be defined in the "setter" for x, that x
Y = x + 2, so everything you update x you update Y
I don't particularly like it because, what if you want to change y? Do you have to change x correspondingy?