阅读背景:

如何在使用do-while循环时让我的程序只计算一个单独的单词?

来源:互联网 

I am trying to make a program that finds a 'profane' word (which is 'cat' in this case) and say how many times it comes up in my input, and it works, except that it will count that profane word when it is embedded in a another word like 'conCATination'. Why is this the case? How can I get it to just count it when the word is by itself? I am trying to make a program that finds a 'pro




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: