Path: utzoo!attcan!uunet!samsung!dali.cs.montana.edu!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpda!hpcuhb!hpcilzb!hpsciz!masa From: masa@hpsciz.HP.COM (Masayoshi Habu) Newsgroups: comp.windows.x Subject: Re: c++ and X11 Message-ID: <1310001@hpsciz.HP.COM> Date: 10 Oct 90 17:05:19 GMT References: Organization: Hewlett-Packard, Santa Clara, CA Lines: 9 So you want to use C++ and X window together ? It is nice because you can create your own "widget" as an class in C++, thus eliminating the complicated process of manipulating widgets in bare C. I attached a header file which is good for C++ in the next response. Please look at "#ifdef __cplusplus" lines. If your compiler does not set this variable, you need to define it yourself. Have fun ! Masa