Skip to content

Instantly share code, notes, and snippets.

@Lewuathe
Created February 19, 2013 13:54
Show Gist options
  • Select an option

  • Save Lewuathe/4986091 to your computer and use it in GitHub Desktop.

Select an option

Save Lewuathe/4986091 to your computer and use it in GitHub Desktop.
#include <iostream>
int add(int a, int b){
return a+b;
}
int main(void){
std::cout << add(1,2) << std::endl;
return 0;
}
0000000100000d00 T __Z3addii
// 省略
0000000100000d50 T _main
// 省略
extern "C" int add(int, int);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment