This file contains hidden or 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
- (IBAction)startOneOffTimer:sender { | |
[NSTimer scheduledTimerWithTimeInterval:2.0 | |
target:self | |
selector:@selector(targetMethod:) | |
userInfo:[self userInfo] |
This file contains hidden or 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 (int argc, const char * argv[]) { | |
int a, b, i, t; | |
scanf("%d%d", &a, &b); | |
if (a < b) { | |
t = a; |
This file contains hidden or 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(void) | |
{ | |
float a,r1,r2,m; | |
char b,c; | |
printf("请输入加油量,汽油类型(a,b,c)以及服务类型(f,m,e)\n"); | |
printf("***************************************************\n"); | |
printf("请输入:"); |
This file contains hidden or 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 hidden or 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]; | |
// 未完 |
NewerOlder