Created
April 26, 2018 04:25
-
-
Save FraGoTe/774342ae2f55a17113c6cc9eefc04980 to your computer and use it in GitHub Desktop.
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
class MiClase | |
{ | |
public: | |
int miDato; | |
void hazAlgo(void) | |
{ | |
miDato = 5; | |
} | |
}; | |
struct MiClase | |
{ | |
int miDato; | |
} | |
void hazAlgo(MiClase *const miInstancia) | |
{ | |
miInstancia->miDato = 5; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment