C# problems...
1
Name:
Anonymous
2006-09-21 0:36
I'm having problem with some beginner C# stuff. This is due tomorrow and I'm stumped. It Should work.. but isn't...
http://rafb.net/paste/results/81BY8z39.html
2
Name:
Anonymous
2006-09-21 0:38
C# lols
3
Name:
Anonymous
2006-09-21 0:39
meh... I don't see why it's not working...
4
Name:
Anonymous
2006-09-21 0:42
i don't know c#, but here are some suggestions:
do you have to include or put another "using" statement for int to have those methods?
5
Name:
Anonymous
2006-09-21 0:45
Not to my knowledge. Its underlining the { after doaddition, and also the very last } and the =, +, and ;s of the doaddition
6
Name:
Anonymous
2006-09-21 1:46
public static int doAddition (int a, int b);
Bam! There's your problem right there. Kill that semicolon.
7
Name:
Anonymous
2006-09-21 2:50
hahahahahahahahaha, doAddition function
8
Name:
Anonymous
2006-09-21 10:54
Typical OO behaviour
9
Name:
Anonymous
2006-09-21 12:05
[code] int doAddition (int a, int b);
{
int c;
c = a + b;
return c;
}[code]
HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA!!!!!!
10
Name:
Anonymous
2006-09-21 17:47
hahahaha, i don't think your doAddition function is safe enough, try adding this:
int doDoAddition(int a, int b)
{
int c;
c = doAddition(a,b);
return c;
}
11
Name:
Anonymous
2006-09-21 19:55
>>10
Fool, you aren't generalizating enough!
int DoOperation(operationrealm realm, operationtype op, operandcollection c)
12
Name:
Anonymous
2006-09-22 15:29
>>10
It's not thread-safe!!!
(define (doAddition a b)
(+ a b))
13
Name:
Anonymous
2006-09-22 15:29
14
Name:
Anonymous
2006-09-22 16:26
>>13
What?!!? That's not flexible enough! We need some enterprise!
object DoIt(object obj)
15
Name:
Anonymous
2006-09-22 17:02
>>1-14
Script language users.
16
Name:
Anonymous
2006-09-22 17:53
>>12
moar liek (define do-addition +)
17
Name:
Anonymous
2006-09-22 18:14
>>16
I personally prefer:
(defmacro do-addition ()
#'+)
18
Name:
Anonymous
2006-09-22 18:46
>>16
>>17
Didn't get the joke.
19
Name:
Anonymous
2006-09-22 19:07
subject.putitin(object)
20
Name:
Anonymous
2006-09-23 7:27
>>18
didn't got the sarcasm of
>>16 and
>>17 (but you sadly can't if you're 12 years old)
21
Name:
Anonymous
2009-01-14 13:20
SICP
22
Name:
Anonymous
2009-02-25 7:57
The video When I was 12 because I have tuned.
23
Name:
Anonymous
2009-08-03 8:01
Hi
24
Name:
Anonymous
2009-08-03 8:01
i am 12 and what is this
25
Name:
Anonymous
2009-08-03 8:02
Longcat is fairly long. I mean, he's the longest cat I've ever seen, but you know...there just might be a longer cat out there somewhere...I mean just maybe.
27
Name:
Anonymous
2010-10-08 5:44
29
Name:
Anonymous
2011-02-03 0:14