Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!snorkelwacker!bloom-beacon!mtsu.EDU!csmoe From: csmoe@mtsu.EDU (Miss. Monisha Guglani) Newsgroups: comp.windows.x Subject: c++ and X11 Message-ID: Date: 9 Oct 90 17:51:37 GMT Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Lines: 16 C++ requires that the types for arguments to a function be declared when the function is declared within header files (extern)! C dosen't need u to specify the arguments to functions within header files. For already present header files like Xlib.h is there a way to get around this problem because c++ gives an error of the type unexpected 1 argument for function. Has anyone else encountered similar problems. Here again this is X11R3 that I'm facing problems with. -- /**************************************************************/ /* csmoe@knuth.mtsu.edu Monisha Guglani */ /* "I haven't lost my mind its backed-up on a tape somewhere" */ /**************************************************************/