piffy

library template (example of use in C++)

Mar 19th, 2017
155
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. };
RAW Paste Data