Click here to Skip to main content
15,907,120 members
Home / Discussions / C#
   

C#

 
QuestionPolar Graph in c#?? Pin
parvinder sehrawat3-Oct-05 3:30
parvinder sehrawat3-Oct-05 3:30 
AnswerRe: Polar Graph in c#?? Pin
Robert Rohde3-Oct-05 7:20
Robert Rohde3-Oct-05 7:20 
QuestionWriting code for Credit Card Reader in C# Pin
CharlyBrownson3-Oct-05 3:05
CharlyBrownson3-Oct-05 3:05 
AnswerRe: Writing code for Credit Card Reader in C# Pin
g00fyman3-Oct-05 4:09
g00fyman3-Oct-05 4:09 
GeneralRe: Writing code for Credit Card Reader in C# Pin
CharlyBrownson3-Oct-05 14:25
CharlyBrownson3-Oct-05 14:25 
GeneralRe: Writing code for Credit Card Reader in C# Pin
g00fyman3-Oct-05 15:44
g00fyman3-Oct-05 15:44 
QuestionC# and authenticating with LDAP Pin
ehuysamer3-Oct-05 2:49
ehuysamer3-Oct-05 2:49 
QuestionPassing Passwords ARGS Pin
har04mich3-Oct-05 2:30
har04mich3-Oct-05 2:30 
AnswerRe: Passing Passwords ARGS Pin
ehuysamer4-Oct-05 4:25
ehuysamer4-Oct-05 4:25 
QuestionGDI+ Problemo Pin
XeoN-Kc3-Oct-05 2:05
XeoN-Kc3-Oct-05 2:05 
AnswerRe: GDI+ Problemo Pin
leppie3-Oct-05 3:12
leppie3-Oct-05 3:12 
AnswerRe: GDI+ Problemo Pin
Andrew Kirillov3-Oct-05 3:44
Andrew Kirillov3-Oct-05 3:44 
GeneralRe: GDI+ Problemo Pin
XeoN-Kc3-Oct-05 7:55
XeoN-Kc3-Oct-05 7:55 
GeneralRe: GDI+ Problemo Pin
Andrew Kirillov3-Oct-05 9:40
Andrew Kirillov3-Oct-05 9:40 
QuestionWhy Leave the user defined control make the changes of the combobox? Pin
Ming Luo3-Oct-05 1:51
Ming Luo3-Oct-05 1:51 
QuestionBinding a property to a textbox problem Pin
Ming Luo3-Oct-05 0:53
Ming Luo3-Oct-05 0:53 
QuestionChange another forms controls properties Pin
freshonlineMax2-Oct-05 23:52
freshonlineMax2-Oct-05 23:52 
AnswerRe: Change another forms controls properties Pin
Wjousts3-Oct-05 2:52
Wjousts3-Oct-05 2:52 
GeneralRe: Change another forms controls properties Pin
freshonlineMax3-Oct-05 19:15
freshonlineMax3-Oct-05 19:15 
QuestionTransparencyKey does not work in combination with Opacity! Pin
Martin#2-Oct-05 22:59
Martin#2-Oct-05 22:59 
Questioncall the function from CODE BEHIND page to HTML Pin
mohd rafi2-Oct-05 22:30
mohd rafi2-Oct-05 22:30 
QuestionPointers in struct to itself Pin
Dominik Reichl2-Oct-05 22:13
Dominik Reichl2-Oct-05 22:13 
Hi!

I want to define a structure that has 2 pointers to the same type as itself. For example, think of a Huffman tree node. In C++ we did it like this:

typedef struct
{
    unsigned int code;
    unsigned int count;
    HUFFTREENODE *l;
    HUFFTREENODE *r;
} HUFFTREENODE;

Now, how can we do the same in C#? I tried this:

public struct HuffTreeNode
{
    uint code;
    uint count;
    HuffTreeNode l;
    HuffTreeNode r;
}

But it gives me an error that this would create a loop in the struct...

Thanks in advance and best regards
Dominik



_outp(0x64, 0xAD);
and
__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do?? Wink | ;)
(doesn't work on NT)

AnswerRe: Pointers in struct to itself Pin
Mathew Hall2-Oct-05 22:44
Mathew Hall2-Oct-05 22:44 
GeneralRe: Pointers in struct to itself Pin
Dominik Reichl2-Oct-05 22:56
Dominik Reichl2-Oct-05 22:56 
GeneralRe: Pointers in struct to itself Pin
Daniel Turini2-Oct-05 23:11
Daniel Turini2-Oct-05 23:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.