I'm sorry, my function won't compile, and I cannot figure out why, but I know it's something ridiculously easy.

int search_for(keywords[TOTAL_KEYWORDS][20], string_of_interest[MAX_CHARS_PER_LINE]);

it tells me there is a syntax error before the '[' token.

Thanks

nevermind, forgot the variable type

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.