EDIT: NVM PROBLEM SOLVED......
(forgot namespace std)
/facepalm
Code:
#include <vector>
bool is_equal( const int*ia, int ia_size, const vector<int> &ivec )
{
//function does nothing yet
return false;
}
compile error:
1>Compiling...
1>is_equal.cpp
1>c:\users\rodrigo\documents\visual studio 2008\projects\primer1\primer1\is_equal.cpp(5) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rodrigo\documents\visual studio 2008\projects\primer1\primer1\is_equal.cpp(5) : error C2143: syntax error : missing ',' before '<'
I bet you see the problem already? whats wrong ;]
thanks for the help
(i believe i copied this function signature directly from a book, by the letter...i dont see whats wrong )
(and if it matters, the other source file i have does compile with this function 'declared' in it)