Sign in

gwj / po_oopc · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • po_oopc
  • examples07
  • 02-externc
  • externc.cpp
  • Moved qt tutorial earlier
    13660600
    Grzegorz Jabłoński authored
    2022-09-19 14:43:21 +0200  
    Browse Dir »
externc.cpp 145 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);
}