A
Affan Syed
Hi,
first let me apologize before hand for not knowing this trivial issue and my
inability to find it after searching on the web for an answer to what seems
to be starightforward. I have used vectors (STL) for some time but have
never had the need to actually return one from a function. what i mean is
that does something like the code below work? (this is very artificial case
but just consider that this is imp to what i want to do and there isnt a way
around it)
vector<myClass> RetVector(){
vector<myClass> retVector;
first let me apologize before hand for not knowing this trivial issue and my
inability to find it after searching on the web for an answer to what seems
to be starightforward. I have used vectors (STL) for some time but have
never had the need to actually return one from a function. what i mean is
that does something like the code below work? (this is very artificial case
but just consider that this is imp to what i want to do and there isnt a way
around it)
vector<myClass> RetVector(){
vector<myClass> retVector;