IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1989.31 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-19
Pages: < Prev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Next >
[23:14]<d0`>GoatCheez41 ...
[23:14]<lyfuym-wjzc>lo tareque840
[23:14]<d0`>motherf :(
[23:14]<d0`>your righjt GoatCheez41 :(
[23:14]<gjrvcxnne9w>m0`: uhh.... ur supposed to create an error, so the function returns an error code, and you need to know what it's supposed to return
[23:14]<d0`>I hate programming
[23:14]<gjrvcxnne9w>lol
[23:14]<d0`>I really hate programming
[23:14]<gjrvcxnne9w>why
[23:14]<gjrvcxnne9w>lol
[23:14]<d0`>I am stuck
[23:14]<vzznfuno90>can anyone help me with my problem here..i was wondering if anyone can help me with how to print chinese characters in c#
[23:14]<d0`>cause of the DECIMAL -> HEX
[23:14]<d0`>:@
[23:15]<gjrvcxnne9w>how are you stuck because of it?
[23:15]<d0`>i said I was stuck for a long time
[23:15]<d0`>i meant * :)
[23:15]<d0`>I told people at math
[23:15]<d0`>they didn't know the relationship :p
[23:15]<d0`>no documentation on hex
[23:15]<gjrvcxnne9w>oh, so i was the first to notice that your error codes are in hex?
[23:15]<d0`>ya
[23:15]<lyfuym-wjzc>later code monkeys
[23:15]<gjrvcxnne9w>lol
[23:15]<gjrvcxnne9w>roflmao
[23:15]<lyfuym-wjzc>I got a interview at 9am
[23:15]<lyfuym-wjzc>bed time
[23:16]<2grg_vdv>try DECIMAL --> BINARY --> HEX much easier.
[23:16]<d0`>GoatCheez41: How do I fix it now ?
[23:16]<kjr>GoatCheez41: did the alphanumeric characters give it away...?
[23:16]<d0`>GoatCheez41: Where should I convert it to hex
[23:16]<gjrvcxnne9w>m0: .ToString("X");
[23:16]<d0`>Can't I make the struct a hex?
[23:16]<gjrvcxnne9w>uhhh
[23:16]<d0`>I want to store the hex value within that struct
[23:16]<gjrvcxnne9w>it is being stored lol
[23:17]<gjrvcxnne9w>it's just a number
[23:17]<gjrvcxnne9w>and hex is just a way to write the number
[23:17]<d0`>its being stored as a decimal
[23:17]<gjrvcxnne9w>in a different base
[23:17]<d0`>yea
[23:17]<gjrvcxnne9w>no, you see it as decimal because that is the most common representation
[23:17]<kjr>m0`: unless you want to create a new type, it's not going to happen
[23:17]<gjrvcxnne9w>the computer stores it in hex
[23:17]<d0`>but i can I store it as a hex?
[23:17]<gjrvcxnne9w>Kog: no alphanumerics... the error code was 101, the number returned was 257
[23:17]<d0`>hmm
[23:17]<kjr>there is no base type for radix 16
[23:17]<d0`>that sucks
[23:17]<2grg_vdv>Oh, i thought we were talking about converting by hand :P
[23:18]<kjr>GoatCheez41: and no one noticed that 101 = 257 might *not* be base 10?
[23:18]<gjrvcxnne9w>m0`: how... either convert the error codes in your error table to decimal, or convert your error codes to hex strings
[23:18]<d0`>AHA
[23:18]<d0`>I have a good IDEA
[23:18]<d0`>I will make a macro
[23:18]<gjrvcxnne9w>Kog: somehow, yeah... and he's been working on this for 2 weeks
[23:18]<gjrvcxnne9w>m0`: There ya go
[23:18]<rxrcr>...
[23:18]<vzznfuno90>can anyone help me with my problem here please..?
[23:18]<kjr>IDEA is a copywritten IDE name
[23:18]<vzznfuno90>i was wondering if anyone can help me with how to print chinese characters in c#....!
[23:18]<kjr>sorry
[23:18]<d0`>lol
[23:18]<kjr>tareque840: did you google?
[23:18]<d0`> return x.errorCode.ToString("X") != HDDefines.HD_SUCCESS;
[23:18]<d0`>:)
[23:19]<gjrvcxnne9w>m0`: you need to redo your defines for error codes
[23:19]<gjrvcxnne9w>string comparing to numeric doesn't work
[23:19]<d0`> public const uint HD_WARM_MOTORS = 0x0200;
[23:19]<d0`> public const uint HD_EXCEEDED_MAX_FORCE = 0x0201;
[23:19]<d0`> public const uint HD_EXCEEDED_MAX_FORCE_IMPULSE = 0x0202;
[23:19]<d0`> public const uint HD_EXCEEDED_MAX_VELOCITY = 0x0203;
[23:19]<d0`> public const uint HD_FORCE_ERROR = 0x0204;
[23:19]<kjr>hey... pastebin
[23:19]<kjr>jesus
[23:19]<d0`>err not working
[23:19]<d0`>:@
[23:19]<gjrvcxnne9w>m0`: oh, ur fine then
[23:19]<gjrvcxnne9w>m0`: those are already hex
[23:19]<d0`>sorry
[23:19]<gjrvcxnne9w>m0`: 0x101 == 257
[23:19]<kjr>0x is always a good sign something is hex...
[23:19]<d0`>?
[23:19]<gjrvcxnne9w>lol
[23:19]<gnczzfywyz>can i ask asp.net question here?
[23:19]<d0`>excuseme?
[23:20]<vzznfuno90>lolz
[23:20]<gjrvcxnne9w>Kog: this is supposed to be for his masters degree
[23:20]<kjr>0xdeadbeef
[23:20]<vzznfuno90>YA ALLAH
[23:20]<d0`>lol
[23:20]<kjr>GoatCheez41: wait, what? I thought he was an undergrad
[23:20]<vzznfuno90>why are you pasting everything here
[23:20]<d0`>GoatCheez41
[23:20]<gjrvcxnne9w>Kog: and people wonder why I despise programmers with college degrees
[23:20]<d0`>undergrad
[23:20]<kjr>GoatCheez41: because you love to hate me?
[23:20]<rxrcr>Kog: I've seen 0xB0FA too
[23:20]<gjrvcxnne9w>oh, somehow i was under the impression you were doing this for ur masters
[23:20]<d0`>ERRR







