Avatar of JPERKS1985
JPERKS1985
 asked on

Identifier not found on function call.

I'm just beginning C++. I'm trying to call a function and I'm getting "Identifier not found". I'm sure it's something simple. Any ideas?


//The call,

tokenize(HTML, "action: ");


//The function,

void tokenize(char strData[], char seps[])
{

char *token;

	vector<string> vec_String_Lines;
   token = strtok( strData, seps );

 
   while( token != NULL )
   {
      vec_String_Lines.push_back(token);
      token = strtok( NULL, seps );
   }
 

 
    for ( int i = 0; i < vec_String_Lines.size(); ++i)
    DbgOutInt1(vec_String_Lines[i],0);

	

}

Open in new window

C++

Avatar of undefined
Last Comment
JPERKS1985

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
jkr

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
JPERKS1985

ASKER
thank you, that did the trick, I have a lot to learn.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck