1: char[7] textbox ;
2:
3: int one, two, three ;
4: char[3] temp ;
5:
6: temp[0] = textbox[0] ;
Tags:
parsing
date
View more
Last activity 2 weeks, 2 days ago
1: int seven() {
2: int one = 2;
3: int three = 4;
4: return one + three;
5: }
Tags:
variable
name
View more
Last activity 1 month, 1 week ago
1: Object o = new Object();
2: o = null;
3:
4: // Bingo, now you have a it :)
View more
Last activity 3 months, 3 weeks ago
1: http://www.youtube.com/watch?v=IznLN40z7h0
View more
Last activity 7 months ago
1: void crawl_into_hole_and_die()
2: {
3: while(1); // let the watchdog get us.
4: }
Tags:
infinite-loop
View more
Last activity 7 months, 2 weeks ago
1: // What's the best ? Functionnal or Object Oriented
2: // Of course it depends, but how do you choose what idiom is the best ?
3:
4:
5: // Example 1: Functionnal way
6: sealed class Base
Tags:
scala
functionnal
object-oriented
View more
Last activity 9 months, 3 weeks ago
1: if (cond1) {
2: /* Something */
3: } else if (cond2) {
4: /* Something else */
5: } else if (cond3) {
6: /* Something else, again */
View more
Last activity 10 months ago
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, 3 months ago
1: try
2: {
3: //Some code
4: }
5: catch(Exception)
6: {
View more
Last activity 1 year, 5 months ago