library template (example of use in C++)
#include "libtemp.h"
#include <stdio.h>
#include <iostream>
using namespace std;
extern int _libdef_var;
int main(){
cout << "Valore della variabile esterna: "<< _libdef_var << endl;
cout << "Valore restituito dalla funzione: "<< libdef_funz(1) << endl;
cout << "Valore della variabile esterna: "<< _libdef_var << endl;
return 0;
};
Comments