例如:string input;input = "Hello world!";int count = strcount ( input );其中count这个int值是用来放置input字符个数的,接下来该如何编写strcount()这个自定义的函数呢?
你的方法也可行,可惜只能选一个,这样吧,我以前有提问但是没人回答的,你把你的邮箱写上来,我把网址发到你邮箱,然后你去回答一下,我把分数给你,分值比较大呢,呵呵
[email protected]