Newsgroups: comp.windows.x Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: DAVID%CSVAX1%IRUCCVAX.UCC.IE@mitvma.mit.EDU Subject: Some elementary questions on g++ an and X Message-ID: <9104291931.AA19372@expo.lcs.mit.edu> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Date: 29 Apr 91 20:28:00 GMT Lines: 32 HI firstly, could some one show me how to compile X functions from Xlib or Xt with g++ That is, I am using X11R3 libraries, the X toolkit with the Athena widget set. I am trying to get CG++ to compile some of the exampkle progs (Xboxes etc..) I have no problems when I use cc or even gcc, but g++ seems to have probs (I'd guess with the c functions and libraries involved in X) I have attempted to solve this with the use of extern "C" ... but I must not be using it right. A succesful (simple is adequate ) program using the X toolkit or library and some of its functions which compiles under g++ would be ideal, thanks. On another (less urgent note) Could some one tell me what widget sets are available for X intrinsics (that is free. thank you for your patience in bearing with me on this, my editor is v. limited so sorry for all the typos. regardless I hope this makes some sense, and maybe someone might even be good enough to reply :) bye Dave O' Byrne