From: "Requiem" Newsgroups: comp.os.msdos.djgpp Subject: Structs Date: 24 Dec 1999 22:21:42 EST Organization: Concentric Internet Services Lines: 26 Message-ID: <841d86$gg4@chronicle.concentric.net> NNTP-Posting-Host: ts008d28.chi-il.concentric.net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com How can I link two different structs to the same function, without declaring the function in both structs. for example int query_gold(); struct foo { int la; int pe; } struct foo2 { int la; int pe; } foo->query_gold(); foo2->query_gold(); Thanks Requiem iraemortis AT subdimension DOT com