1/*
2 Copyright(C) 1998
3 All Rights Reserved. Salih Yurttas, ZCubes, BitsOfCode Software Systems, Inc..
4
5 Permission to use, copy, modify, and distribute this
6 software and its documentation for EDUcATIONAL purposes
7 and without fee is hereby granted provided that this
8 copyright notice appears in all copies.
9
10 date : January 1, 1998.
11 author : Salih Yurttas.
12
13 put_list_int.cpp
14*/
15
16
17#include "get_put_list_int.h"
18
19void put_list_int(vector<int>& list) {
20 char filename[MAX_SIZE_STRING];
21
22 cout << "--> output filename : ";
23 cin >> filename;
24 cout << endl;
25
26 ofstream f_out(filename);
27
28 int n = list.size();
29 for(int i=0; i<n; ++i)
30 f_out << list[i] << endl;
31}