[comp.windows.x] Some elementary questions on g++ an and X

DAVID%CSVAX1%IRUCCVAX.UCC.IE@mitvma.mit.EDU (04/30/91)

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