i created a function which u send a string, and it tokenizes according to spaces, so i send it a string for it to return me a string array, but on the declaration of the function it says
error C2470: 'splitter' : looks like a function definition, but there is no parameter list; skipping apparent body
and
error C2092: 'splitter' array element type cannot be function
and my header is
string splitter[](string line)
i read the other day that the return value could be anythin as long as its one object ,int, string, array, as long as its one object, so what am i doing wrong?
thanks in advance
error C2470: 'splitter' : looks like a function definition, but there is no parameter list; skipping apparent body
and
error C2092: 'splitter' array element type cannot be function
and my header is
string splitter[](string line)
i read the other day that the return value could be anythin as long as its one object ,int, string, array, as long as its one object, so what am i doing wrong?
thanks in advance
Comment