Skip to content

Instantly share code, notes, and snippets.

@darbotron
Created November 28, 2019 09:07
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 darbotron/cfedbc33fa28d07977969da9ae73656d to your computer and use it in GitHub Desktop.
Save darbotron/cfedbc33fa28d07977969da9ae73656d to your computer and use it in GitHub Desktop.
C/C++ Low Level Curriculum - Part 2 - Simple Program
int AddOneTo( int iParameter )
{
int iLocal = iParameter + 1;
return iLocal;
}
int main( int argc, char** argv )
{
int iResult = 0;
iResult = AddOneTo( iResult );
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment