Path: utzoo!mnetor!tmsoft!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu From: ddt@ccwf.cc.utexas.edu (David Taylor) Newsgroups: comp.os.msdos.programmer Subject: Computer Contest dilemna Message-ID: <43273@ut-emx.uucp> Date: 28 Jan 91 00:44:50 GMT Sender: news@ut-emx.uucp Reply-To: ddt@ccwf.cc.utexas.edu (David Taylor) Distribution: comp.sys.ibm.pc.programmer, comp.sys.mac.programmer Organization: The University of Texas at Austin Lines: 20 The University of Texas IEEE-CS student chapter is having a bit of a dilemna with our semesterly programming contest. We conduct a /very/ popular state-wide programming contest here in Austin every semester. The machines are IBM PC's; the language is Turbo Pascal. It's a fine machine and a fine language, but we feel we're slipping a bit behind the times by leaving out the many C programmers out there. Here's the problem: We /seem/ to need to stick to one language because the contests are of a "dueling subroutine" form. The Computer Contest Committee makes a "mother" program which calls two competing subroutines, one at a time. I understand that there's a problem when you try to use another language's library at link-time. I'm not sure I follow the gist of why this breaks down, but does anybody have any suggestions about how to get Turbo C and Turbo Pascal to cooperate when linking C subroutines to their Pascal callers? Any help is appreciated. Please respond in e-mail. Thanks. =-ddt->