vector myFunction(int iArgument) {} does not work........
Last edited by markman; May 3rd, 2002 at 08:33 PM.
retired member. Thanks for everything
You probably need to specify a type for the vector, since it's a template class. Try: vector<int> myFunction(int iArgument) {}
Harry. "From one thing, know ten thousand things."
wait nevermind. I had it in a class, so I needed vector <ClassName::Struct> x thanks anyways
Forum Rules