代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/407541/11417137
cpp 输入成绩评等级 错例2do-while.cpp
#include /**/
void main()
{
int mark;
printf("\n\t输入学生的百分制成绩(为负数时结束) \n\n");
do
{printf(" 输入成绩: ");
scanf("%d",&mark);
if(mark>100){printf(" 输入成绩不能超过100分以上! \n");}
else if
www.eeworm.com/read/400013/11585813
doc while语句的翻译分析程序设计(古月)改.doc
www.eeworm.com/read/152920/12074251
cpp 程序8.06:用do...while循环求fibonacci数列.cpp
/* 程序8.6:用do...while循环求Fibonacci数列.cpp */
#include //包含头文件
using namespace std; //使用名字空间std
class Loops //声明一个类Loops
{
private: //声明私有成员变量
int iNum1,iNum2;
public: //声明公共成
www.eeworm.com/read/127767/14337004
txt e513. handling errors while parsing an xml file.txt
This example installs an error handler to a parser. The error handler logs error messages to a logger (see e385 The Quintessential Logging Program).
// Create a builder
DocumentBuilder buil
www.eeworm.com/read/127767/14337693
txt e515. ignoring comments while parsing an xml file.txt
By default, Comment nodes are created for each comment in an XML file. If it is not necessary to preserve the comments, there is no need to create the nodes. This example demonstrates how to create a
www.eeworm.com/read/407541/11417025
cpp 输入一行语句,统计字符数dowhile-while.cpp
#include /**/
void main()
{
printf("\n\t输入一行语句,统计字符个数\n\n");
do
{int n=0;
char c;
printf("\n Iuput a string(输入一个字符串): "); //此处输入'空格'为一个字符
while((c=getchar())!='\n'){n++;}
www.eeworm.com/read/127767/14336537
txt e819. highlighting buttons in a jtoolbar container while under the cursor.txt
By default, a button in a toolbar does not change its appearance when the cursor is over the button. However, if the toolbar is in rollover mode, the buttons will highlight while under a cursor.
www.eeworm.com/read/380309/2661320
txt 第五章练习2(用do-while做).txt
/*2、从键盘输入一个数,计算这个数的阶层
说明:
阶层 一个自然数从1到它本身所有数字的乘积
例如 (5的阶层)5!=5*4*3*2*1=120
提示:
用while、do……while、for语句三种方式完成。
使用循环让每个数相乘
使用一个变量保存每一次的乘积*/
#include
void main()
{
int i=