随笔分类 - c
摘要:int printf ( const char * format, ... );Return ValueOn success, the total number of characters written is returned.On failure, a negative number is returned.
阅读全文
摘要:/** select a number < 8 return a randle number that <= 7*/int selrand(){ int iSecret, iGuess; bool iselect = true; static vector< int > selected; static vector< int >::iterator itsel; /* initialize random seed: */ srand( time( NULL ) ); /* generate secret number: */ do { iSecret =
阅读全文
浙公网安备 33010602011771号