This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<windows.h> | |
#include<malloc.h> | |
int main(void) | |
{ | |
int c; | |
int i; | |
int j; | |
nihao: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() | |
{ | |
char op; | |
double data1,data2,r; | |
printf("请输入式子\n"); | |
scanf("%lf%c%lf",&data1,&op,&data2); | |
switch(op) | |
{ | |
case '+':r=data1+data2;break; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 设置标题背景图 | |
[functionButton setBackgroundImage:(i == 0 ? firestImageNormal : othersImageNormal) | |
forState:UIControlStateNormal]; | |
[functionButton setBackgroundImage:(i == 0 ? firestImageHighlighted : othersImageHighlighted) | |
forState:UIControlStateHighlighted]; | |
// 未完 |