vuoi
o PayPal
tutte le volte che vuoi
num=num/MCD(new_n,new_d);
den=den/MCD(new_n,new_d);
}
...
-------------------------------------
PROVA MERGE (body.cpp):
#include "list.h"
namespace esame {
template <class item>
void list<item>::operator =(const list<item>& source) {
if(this==&source)
return;
else { list_clear(head_ptr);
list_copy(source.head_ptr, head_ptr);
}
}
template <class item>
void list<item>::list_print() {
node<item>* cursor;
for(cursor=head_ptr; cursor!=NULL; cursor=cursor->link())
cout<<cursor->data()<<" ";
}
template <class item>
list<item> merge( const list<item>& l1, const list<item>& l2) {