Skip to content

Instantly share code, notes, and snippets.

@FraGoTe
Created Apr 26, 2018
Embed
What would you like to do?
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