Xref: utzoo comp.lang.c++:11367 comp.windows.x:32050 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!netnews.upenn.edu!unagi.cis.upenn.edu!kim From: kim@unagi.cis.upenn.edu (JEE-IN KIM) Newsgroups: comp.lang.c++,comp.windows.x Subject: HELP: Header file conflict (C++ vs. X11) Message-ID: <36615@netnews.upenn.edu> Date: 30 Jan 91 16:58:57 GMT Sender: news@netnews.upenn.edu Reply-To: kim@unagi.cis.upenn.edu (JEE-IN KIM) Distribution: usa Organization: University of Pennsylvania Lines: 42 Hello, I really appreciate for your kind answering my previous question. Here is another one. In my g++ program, I wanted to include both and X11 things as follows: #include #include #include #include ... I am afraid they do not like each other. Though I tried the followings and it reduces number of error messages such as "type conflict, shadowing, etc.", it did not work either: #include extern "C" { #include #include #include } ... Is it a system-specific problem or I did the wrong thing? Could you please let me know what is the problem? Additionally, what are the general differences between C and C++ when we are programming X-window applications? I had no trouble with C programming. Thanks a lot. Best, Jee-In --------------------------- Jee-In Kim kim@unagi.cis.upenn.edu ---------------------------