#include // ランダムな文字列を生成する // n:生成する文字数 // *rs:生成した文字列を格納するバッファ( n+1 バイト以上必要) void randstr(int n,char *rs) { const char sml[]="abcdefghijklmnopqrstuvwxyz"; const char lrg[]="ABCDEFGHIJKLMNOPQRSTUVWXYZ"; int i; if(rand()%2) for(i=0;i