linkerror

hello
please help me to compile this program
this program has a link error how can i compile this
http://www.persianupload.com/1069352
and i have 1 question about this program
how can i use vector constructor in myvector to do like this
int arr[] = { 1,2,3,4,5,6 };
vector<int> v( arr, arr+6 );
like this for myvector
myvector<int> mv( arr, arr+6 );
I have not looked at your link, so I'm guessing on your last question, but this is how vector<> does it

1
2
3
4
template< typename Iterator >
myvector( Iterator first, Iterator last ) {
   // ...
}
hello
can yuo help me to solve this link error please
Topic archived. No new replies allowed.