bob
2005-04-28 03:11:04 UTC
error C2955: 'vector' : use of class template requires template argument
list
rror C2670: 'foward' : the template function cannot convert parameter 1 from
type 'class std::vector<int,class std::allocator<int> > (void)'
Error executing cl.exe.
counter=foward(&storage , &infile ,counter);
int foward(vector &pages , ifstream &infile, int counter){
im trying to make a function that takes in a vector but im having problems
with it
list
rror C2670: 'foward' : the template function cannot convert parameter 1 from
type 'class std::vector<int,class std::allocator<int> > (void)'
Error executing cl.exe.
counter=foward(&storage , &infile ,counter);
int foward(vector &pages , ifstream &infile, int counter){
im trying to make a function that takes in a vector but im having problems
with it