[comp.lang.c++] Using Xlib with C++.

cindy@saturn.ucsc.edu (Cindy Howell) (06/10/89)

 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