ghosTzone
main(_){return _} && echo $? /* Keep It Simple Stupid | 本博客所有文章皆为原创 转载请注明 - ghosTM55 */

循环条件的使用问题

ghosTM55 posted @ 2008年11月22日 01:59 in C/C++ , 2689 阅读

#include<stdio.h>
int main(void)
{
        float t=2.0,i=0.0;
        for(;i!=t;i+=0.2);
        printf("terminated\n");
        return 0;
}

txi@ghosTunix:~$ date
2008年 05月 17日 星期六 07:47:27 CST


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter