Action()
{
/*
double x;
int i,j=0;
for (i=0;i<5;i++) {
j++;
lr_output_message("j=%d",j);
}
LPCSTR user1="孙悟空";
LPCSTR user2="猪八戒";
if((user1 == "孙悟空") ||(user1 == "猴哥"))
{
lr_output_message("悟空和猴哥是一个人");
return 0;
}
else
{
lr_output_message("八戒");
return -1;
}
lr_output_message("永远不执行");
int a =1, b=2,c=3,d=4,e=5;
int x,y;
LPCSTR exp1 = "-a*b%c+d";
LPCSTR exp2="((((-a)*b)%c)+(d+e))=";
x=-a*b%c+d+e;
y=((((-a)*b)%c)+(d+e));
lr_output_message("%s%d",exp1,x);
lr_output_message("%s%d",exp2,y);
int x,y;
double pi,z;
pi=3.14;
x=10;
y=(int)pi;
z=(double)x;
lr_output_message("y=%d",y);
lr_output_message("z=%f",z);
*/
int i=10,j=10,k=10,l=10,m=10,n=10,g=10,h=10;
lr_output_message("i=%d,i++=%d,i=%d",i,i++,i);
return 0;
}
{
/*
double x;
int i,j=0;
for (i=0;i<5;i++) {
j++;
lr_output_message("j=%d",j);
}
LPCSTR user1="孙悟空";
LPCSTR user2="猪八戒";
if((user1 == "孙悟空") ||(user1 == "猴哥"))
{
lr_output_message("悟空和猴哥是一个人");
return 0;
}
else
{
lr_output_message("八戒");
return -1;
}
lr_output_message("永远不执行");
int a =1, b=2,c=3,d=4,e=5;
int x,y;
LPCSTR exp1 = "-a*b%c+d";
LPCSTR exp2="((((-a)*b)%c)+(d+e))=";
x=-a*b%c+d+e;
y=((((-a)*b)%c)+(d+e));
lr_output_message("%s%d",exp1,x);
lr_output_message("%s%d",exp2,y);
int x,y;
double pi,z;
pi=3.14;
x=10;
y=(int)pi;
z=(double)x;
lr_output_message("y=%d",y);
lr_output_message("z=%f",z);
*/
int i=10,j=10,k=10,l=10,m=10,n=10,g=10,h=10;
lr_output_message("i=%d,i++=%d,i=%d",i,i++,i);
return 0;
}