Yurttas/PL/OOL/Cplusplus/F/04/03/00/vector e 03.cpp

From ZCubes Wiki
Jump to navigation Jump to search
 1/*
 2   Copyright(C) 2002
 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   : June 1, 2002.
11   author : Salih Yurttas.
12
13   vector_e_03.cpp
14*/
15
16
17#include <vector>
18
19using namespace std;
20
21#include "vector_e.cpp"
22
23#include "t_03.cpp"
24
25int main(int argc, char* argv[]) {
26
27  vector_e<int> a_0(2,
28                    9);
29
30  t_00(a_0,
31       6);
32
33  vector_e<double> b_0(2,
34                       9.1);
35
36  t_00(b_0,
37       6.2);
38
39}