C# problems...
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
Name:
Anonymous
2006-09-21 0:38
C# lols
Name:
Anonymous
2006-09-21 0:39
meh... I don't see why it's not working...
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?
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
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.
Name:
Anonymous
2006-09-21 2:50
hahahahahahahahaha, doAddition function
Name:
Anonymous
2006-09-21 10:54
Typical OO behaviour
Name:
Anonymous
2006-09-21 12:05
[code]int doAddition (int a, int b);
{
int c;
c = a + b;
return c;
}[code]
HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA!!!!!!
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;
}
Name:
Anonymous
2006-09-21 19:55
>>10
Fool, you aren't generalizating enough!
int DoOperation(operationrealm realm, operationtype op, operandcollection c)
Name:
Anonymous
2006-09-22 15:29
>>10
It's not thread-safe!!!
(define (doAddition a b)
(+ a b))
Name:
Anonymous
2006-09-22 15:29
Name:
Anonymous
2006-09-22 16:26
>>13
What?!!? That's not flexible enough! We need some enterprise!
object DoIt(object obj)
Newer Posts