2
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by spothao
0

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

0

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.

Edited by Sodabread: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.