1: /* This is bad. Reaaly bad. It's a really, really bad hack. If you're an employee of
2: * Intertrode Communication, then I'm really, really sorry that you have to maintain
3: * this. I was honestly planning on removing this tomorrow, but I've been known to
4: * forget things like this. It happens.
5: *
6: * So here's the thing. I can't seem to figure out why the AccountId variable isn't
View more
Last activity 1 year, 4 months ago
1: if (result <= 10) {
2: handling();
3: }
4: else if (result > 10) {
5: otherHandling();
6: }
View more
Last activity 2 years, 3 months ago
1: #define I Any void_me
2: #define thou Any void_thee
3: #define iam(klas) klas me = (klas) void_me
4: #define thouart(klas) klas thee = (klas) void_thee
5: #define my me ->
6: #define thy thee ->
Tags:
preprocessor
View more
Last activity 2 years, 9 months ago
1: #define private public
View more
Last activity 1 year, 8 months ago
1: int[] tablo = new int[10];
2: int i = 0;
3: try {
4: while (true) {
5: [i] = 0;
6: i++;
View more
Last activity 1 year, 8 months ago
1: int length= 0;
2: for(int idx = 0; idx < a.length; i++){
3: length++;
4: }
5: System.out.println("length is : " + length);
Tags:
array
length
View more
Last activity 2 years, 2 months ago
1: if rs("savetype") = "1" then
2: savetype= "1"
3: elseif rs("savetype")= "2" then
4: savetype= "2"
5: elseif rs("savetype")= "3" then
6: savetype= "3"
Tags:
ASP
IF
View more
Last activity 1 year, 8 months ago
1: try
2: {
3: //Some code
4: }
5: catch(Exception)
6: {
View more
Last activity 1 year, 6 months ago
1: Calendar timer = Calendar.getInstance();
2: timer.add(14,1000);
3: int i=0;
4: while (Calendar.getInstance().before(timer)) {
5: i++;
6: i--;
View more
Last activity 2 years, 3 months ago
1: list<class> lst;
2:
3: while( i < lst.size() )
4: {
5: class tmp = lst.pop_front();
6: /* ... do something ... */
Tags:
STL
list
View more
Last activity 2 years, 3 months ago