Rev 8687 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8687 | Rev 8718 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #include |
1 | #include |
2 | #include |
2 | #include |
3 | #include |
3 | #include |
Line 4... | Line 4... | ||
4 | 4 | ||
- | 5 | char* test_string1 = "Hello world!"; |
|
Line 5... | Line 6... | ||
5 | char* test_string1 = "Hello world!"; |
6 | int a, b; |
- | 7 | ||
- | 8 | int main(int argc, char** argv){ |
|
6 | 9 | sscanf("43 53","%d %d",&a, &b); |
|
7 | int main(int argc, char** argv){ |
10 | printf("(43 53) = (%d %d)\n", a, b); |
8 | printf("Hello world! = %s\n", test_string1); |
11 | printf("Hello world! = %s\n", test_string1); |
9 | printf("345.358980 = %f\n", 345.35898); |
12 | printf("345.358980 = %f\n", 345.35898); |
10 | printf("345 = %d\n", (int)345.35898); |
13 | printf("345 = %d\n", (int)345.35898); |