Created
August 26, 2014 19:50
-
-
Save VitaminaCPP/125897e3e3160abb26d3 to your computer and use it in GitHub Desktop.
El código que recibe el Compilador después de que lo trate el Preprocesador
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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