memset的用法:http://baike.so.com/doc/5005984.html代码如下:#include<iostream>#include<cstring>using namespace std;int main(){ char s[] = "Golden Global View"; memset(s, '1', sizeof(s)); printf("%s
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号