Click here to Skip to main content
15,897,187 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: Pointers in struct to itself Pin
mav.northwind2-Oct-05 23:27
mav.northwind2-Oct-05 23:27 
QuestionTransparent Windows Forms Pin
Gihansam2-Oct-05 20:42
Gihansam2-Oct-05 20:42 
AnswerRe: Transparent Windows Forms Pin
g00fyman3-Oct-05 4:03
g00fyman3-Oct-05 4:03 
QuestionPls help in email grouping..... Pin
2-Oct-05 19:16
suss2-Oct-05 19:16 
QuestionSQL Server does not exist Pin
Anonymous2-Oct-05 18:57
Anonymous2-Oct-05 18:57 
AnswerRe: SQL Server does not exist Pin
Luis Alonso Ramos2-Oct-05 19:07
Luis Alonso Ramos2-Oct-05 19:07 
GeneralRe: SQL Server does not exist Pin
Mahesh Kumar V K2-Oct-05 19:45
Mahesh Kumar V K2-Oct-05 19:45 
QuestionSoccer Game Pin
nume2-Oct-05 18:11
nume2-Oct-05 18:11 
QuestionSending WinForm to printer Pin
MeterMan2-Oct-05 16:49
MeterMan2-Oct-05 16:49 
AnswerRe: Sending WinForm to printer Pin
Robert Rohde2-Oct-05 19:15
Robert Rohde2-Oct-05 19:15 
Questionsome questions... Pin
Sasuko2-Oct-05 12:59
Sasuko2-Oct-05 12:59 
AnswerRe: some questions... Pin
Robert Rohde2-Oct-05 19:19
Robert Rohde2-Oct-05 19:19 
QuestionMicrosoft Money in C# Pin
jgallen232-Oct-05 12:27
jgallen232-Oct-05 12:27 
AnswerRe: Microsoft Money in C# Pin
Vasudevan Deepak Kumar2-Oct-05 23:25
Vasudevan Deepak Kumar2-Oct-05 23:25 

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.