Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!lll-winken!uunet!munnari.oz.au!bruce!trlluna!shiva!soh From: soh@shiva.trl.oz (kam hung soh) Newsgroups: comp.windows.x Subject: Re: X11 and C++ Message-ID: <2327@trlluna.trl.oz> Date: 8 Oct 90 21:56:56 GMT References: <1990Oct5.101350@wsl.dec.com> Sender: news@trlluna.trl.oz Lines: 21 klee@wsl.dec.com (Ken Lee) writes: >In article , csmoe@mtsu.EDU (Miss. Monisha Guglani) writes: >|> I'm trying to use the Xlib files to be included in C++ >The X11R4 Xlib has stuff like this in it: >#if defined(__cplusplus) || defined(c_plusplus) > int c_class; /* C++ class of screen (monochrome, etc.) */ >#else > int class; /* class of screen (monochrome, etc.) */ >#endif >so using it with C++ shouldn't be a problem. I would like to add that those constants are turned on for the AT&T cfront. I believe the C++ stuff from MIT was tested with cfront 2.0 ----- Soh, Kam Hung email: h.soh@trl.oz.au tel: +61 03 541 6403 Telecom Research Laboratories, P.O. Box 249, Clayton, Victoria 3168, Australia