Advertisement
piffy

library template (example of use in C++)

Mar 19th, 2017
380
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.34 KB | None | 0 0
  1. #include "libtemp.h"
  2. #include <stdio.h>
  3. #include <iostream>
  4. using namespace std;
  5.  
  6. extern int _libdef_var;
  7.  
  8. int main(){
  9. cout << "Valore della variabile esterna: "<< _libdef_var << endl;
  10. cout << "Valore restituito dalla funzione: "<< libdef_funz(1) << endl;
  11. cout << "Valore della variabile esterna: "<< _libdef_var << endl;
  12. return 0;
  13. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement