|
give u a solution
/*this code is a free version of life trouble shooting program, you can update or optimize it */
/* as you want, post it here after you make any change -------Author */
prog.h
---------------
#define MAX_TOLERANCE_NUM 3; change this number to match your capacity
prog.c
----------------
void main()
{
int i,j;
for (i=0;i<=MAX_TOLERANCE_NUM;i++)
{
do
{
if ( No_Solution_Found)
{
Do_Research;
if (Found_Solution)
goto Success;
else
Ask_Friends_For_Help;
if (Found_Solution)
goto Success;
else
goto Websites
if (Found_Solution)
goto Success;
}
}
delay(30_minutes);
}
Do_Balancing_Process;
return New_Life_Ready;
Success:
Execute_Plans;
return 0;
} |
|