Question: homework problem for C++ a beginer c++ . Write the function first Not ln (). The function has two parameters; const char * str and

homework problem for C++ a beginer c++ .homework problem for C++ a beginer c++ . Write the function first

Write the function first Not ln (). The function has two parameters; const char * str and const char * chars. The first is the C - style string to search, and the second is a C - style string containing characters to exclude. The function returns the index (as a size_t) of the first occurrence of any character from str that does not appear inside chars. If all of the characters inside str appear inside chars, return the value size_t (-1). You cannot use any library functions for this problem. You may use array or pointer notation

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!