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 "var.h" | |
| void hello1(const char *s) { | |
| printf("hello1 %s\n", s); | |
| } | |
| void hello2(const char *s, const char* s2) { | |
| printf("hello2 %s and %s\n", s, s2); | |
| } |
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
| package so_test; | |
| import java.util.ArrayList; | |
| import java.util.Iterator; | |
| /** | |
| * Created by zzt on 7/30/15. | |
| * <p> | |
| * Description: | |
| * Getting Iterator first then modify container will |
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
| package lambda; | |
| import java.util.ArrayList; | |
| import java.util.Collections; | |
| import java.util.Comparator; | |
| /** | |
| * Created by zzt on 5/25/15. | |
| * <p> | |
| * Description: |
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 <iostream> | |
| #include "extern_const.hpp" | |
| const int n = 10; | |
| //const int a[] = {1, 2}; // this is also ok | |
| extern const int a[] = {1, 2}; | |
| int main(int argc, char *argv[]) | |
| { | |
| increse(); |
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
| Java constant - final |
NewerOlder