中了ovlx.dll病毒怎么办? (转载)# Software - 软件世界
m*s
1 楼
题目是这样的:
Given you "a text file" which contains strings of characters, such as
jkhhkj
rockcu
Aba
CBC
...
you need to write a "C++" program to read in the strings from the test file
and find out all the strings that are palendromes (palendrome means if you
read from left or right side of the string, you get the same thing. So it is
kind of "symmetric" string).
For the strings listed above, the palendromes are: jkhhkj, Aba, CBC.
-------------
在网上找了一个判断一个单词是否对称的方法, 不知怎么推广到一个文件(里面不止
一个单词):
#include <
Given you "a text file" which contains strings of characters, such as
jkhhkj
rockcu
Aba
CBC
...
you need to write a "C++" program to read in the strings from the test file
and find out all the strings that are palendromes (palendrome means if you
read from left or right side of the string, you get the same thing. So it is
kind of "symmetric" string).
For the strings listed above, the palendromes are: jkhhkj, Aba, CBC.
-------------
在网上找了一个判断一个单词是否对称的方法, 不知怎么推广到一个文件(里面不止
一个单词):
#include <