#include #include "LL.h" using namespace std; int main() { LL list; // testing... // long a[] = { 1, 2, 3, -1 }; for( int i = 0; a[i] > 0; ++i) list.push_front(a[i]); list.print(); }