Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!agate!saturn!cindy From: cindy@saturn.ucsc.edu (Cindy Howell) Newsgroups: comp.lang.c++ Subject: Using Xlib with C++. Message-ID: <7893@saturn.ucsc.edu> Date: 9 Jun 89 19:33:20 GMT References: <464@ericom.ericsson.se> Reply-To: cindy@saturn.ucsc.edu (Cindy Howell) Organization: University of California, Santa Cruz Lines: 21 I am beginning a major programming project in C++ that will use the Xlib and Xutil libraries. Is there some systematic method of converting Xlib.h and Xutil.h so that they will include function prototypes? Since I am at the beginning of this project, I have edited these header files so that the functions I am using are prototyped but as the project increases in complexity I would prefer converting the entire header file. I also had some problems with fields in some of the structs which were called class and new. I renamed these fields but such a piecemeal approach to the problem of incorporating C header files into C++ programs leaves me worried about the robustness of my code. I am a new reader of this news group so if this problem has been solved, please don't flame me. I'd appreciate any help anyone can give me. Thanks, Cindy