Is it a synonym for an asterisk?
Yes. Shift + 8 on MY Windows keyboard. Your example demonstrates why you should not try to read a character symbol in C ++ symbol. "Equal" in C ++ is "==". "=" is an assignment. Plus, he forgot to talk about parentheses and commas. At this point (4 errors in one line of code), he could write this damn thing silently.
It would be much better if the dude read this part:
float f = *(float*)&i;
like that:
"Take a pointer to i, C-style, enter it into a pointer to float, dereference and assign the value to float f." It makes much more sense that "star / asterisk" is gibberish.
PS If you really love language chests, you can try reading aloud any code that uses boost, iostreams, operator <, casts, bitwise operations and the "camel case" to distinguish between classes and methods. Of course, such an exercise will not improve your programming skills ...
source share