Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
El código que recibe el Compilador después de que lo trate el Preprocesador
const int CONST = 654321;
void CopyInto(std::ofstream &Stream)
// Error C2101: '&' en la constante.
Stream.write(reinterpret_cast<const char *>(&123456), sizeof(123456));
Stream.write(reinterpret_cast<const char *>(&CONST), sizeof(CONST));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.