The compiler treats both while(true) and for(;;) in the same way so whichever one you use is a matter of programming taste.

 
  • 编译器将while(true)与for(;;)看作同一回事。所以具体选用哪个取决于自己的编程习惯。
今日热词
目录 附录 查词历史