Recommended Answers

All 4 Replies

Try to figure it out for yourself. Come back with specific questions.

I have done the last few question , but i totally didn't get what the first question asking and also the way to solve question 2 and 7 by using c-string

1. Pick the best RFP by number of requirements met, then by lowest cost if there are multiples with the same number of requirements met.

2. Use strcat and see if the result of each combination is equal to that (strcmp) of any other word in your dictionary.

7. This one's a bit trickier with a few possible solutions, but think about using one or more for loops, strncmp and perhaps strncpy, depending on how you want to do it.

Check here: http://www.cplusplus.com/reference/clibrary/cstring/strncmp/ for some decent c string documentation.

Thanks , i try do it first with your advise there

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.