Skip to content

Instantly share code, notes, and snippets.

@FraGoTe
Created April 26, 2018 04:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FraGoTe/774342ae2f55a17113c6cc9eefc04980 to your computer and use it in GitHub Desktop.
Save FraGoTe/774342ae2f55a17113c6cc9eefc04980 to your computer and use it in GitHub Desktop.
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