ÎÒµÄc¼ÆËãÆ÷ °ïæ¿´¿´»¹ÓÐʲô²»×ã~
/******¼ÆËãÆ÷1.0 from Tony*********/
#include<stdio.h>
#include<math.h>
//ÉùÃ÷Çø
void displaymenu(); //main menu
double add(double x,double y);
double sub(double x,double y);
double multi(double x,double y);
double divide(double x,double y);
int arith_compliment(int x,int y);
long int factorial(int n);
int sum_n(int n);
main()
{
int choice;
double tmp1,tmp2;
double result;
while(1)
{
displaymenu();
printf("\n ÇëÑ¡ÔñÄúÐèÒªµÄ¼ÆËãÀàÐÍ£º(1,2,3,4,5,6,7,8)?\n");
scanf("%d",&choice);
switch(choice)
{
case 1:
printf("please input two number to add:"); //¼Ó·¨
scanf("%lf%lf",&tmp1,&tmp2);
result=add(tmp1,tmp2);
printf("%lf+%lf=%lf\n",tmp1,tmp2,result);
break;
case 2:
printf("please input two number to sub:"); //¼õ·¨
scanf("%lf%lf",&tmp1,&tmp2);
result=sub(tmp1,tmp2);
printf("%lf-%lf=%lf\n",tmp1,tmp2,result);
break;
case 3:
printf("please input two number to multi:"); //³Ë·¨
scanf("
Ïà¹ØÎÊ´ð£º
ÓÃc/c++¶¨Î»É¾³ýÒ»ÐеÄÎÊÌâ¡£
ÎÊÌâ±³¾°£º
ËùÐèÊý¾ÝÏ൱´ó¡£aÓëbÎļþ¾ùΪһ×éÎļþ£¨a1£¬a2¡£¬b1£¬b2¡£©£¬aÎļþÓÐ×î´óÊý¾ÝÐÐÊý£¨Èç5000£©£¬ÒÔÐеÄÐÎʽ£¬´ÓaÎļþÖжÁÈ¡Êý¾Ý£¬½«aÖв»ÄÜ´¦ÀíµÄÊý¾Ý·ÅÔÚbÎ ......
Óиöwinform³ÌÐò,ʹÓÃc#+mysql,ÐèÒªÔÚÒ»¸ö´°ÌåÉèÖÃmysql×Ô¶¯É¾³ý¹¦ÄÜ,°üÀ¨×Ô¶¯É¾³ý¶àÉÙÌì֮ǰµÄÊý¾ÝÒÔ¼°ÊÇ·ñ¿ªÆô×Ô¶¯É¾³ý¹¦ÄÜ,ÎÒ³ÌÐòÍ˳öºó,»¹Ôõô¿ØÖÆMysql×Ô¼ºÉ¾³ý°¡?ÊDz»ÊÇÒªÓÃmysqlµÄeventÀ´ÊµÏÖ?c#¿ÉÒÔµ÷ÓÃmysq ......
SHIFT¼ÓF10ÓëÄǸö¼üÓÒctrl±ßÉϵÄÄǸö¼ü¹¦ÄÜÒ»Ñù£¬ÏëÆÁÕâ¸ö
µ«²»ÖªÒªÔõôдÄǸö×éºÏ¼ü£¡
ÓÐûÄĸö´óÏÀ·ÅÒ»¶ÎÕâ¸öµÄ´úÂë»òдһ¶Î
http://topic.csdn.net/u/20090609/15/7dc9fb70-243f-4070-9cfd-34e48b66e6c6.html
......
Environment:Win7 64bit,US
Target: copy c:\windows\system32\chklogo.wtlµ½c:\logs ÏÂ
Èç¹ûÊÖ¹¤´ò¿ªcmd,
1. cmdµÄtitleÊÇAdministrator:C:\windows\system32\cmd.exe
2. µ±Ç°¹¤×÷Ŀ¼c:\Users\usernam ......