Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- #include<time.h>
- #include<fstream>
- using namespace std;
- ofstream go("in.txt");
- ofstream out("out.txt");
- #include "Class1.cpp"
- void main() {
- for (int i = 0; i < 10000; i++) {
- go << rand() % 10;
- }
- srand(time(NULL));
- DoubleLinkedList<int>list_random;
- while (go >> x){
- list_random.InsertLeft()
- }
- list_random.PrintLeftToRight();
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement