Sign in

gwj / po_oopc · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • po_oopc
  • examples06
  • 02-externc
  • externc.cpp
  • Added Koenig lookup example
    121e73b8
    Grzegorz Jabłoński authored
    2019-11-18 09:56:19 +0100  
    Browse Code »
externc.cpp 132 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12
extern "C" int fun1();
extern "C" {
void fun2(int a);
int fun3(double b);
}

int main()
{
 int a=fun1();
 fun2(a);
 a=fun3(3.14);
}