Please help!!! Urgent

This is a discussion on Please help!!! Urgent within the C Programming forums, part of the General Programming Boards category; Hi all, Could someone plese tell me wic header files i need for these?? Or am i doing something wrong ...

  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    3

    Please help!!! Urgent

    Hi all,
    Could someone plese tell me wic header files i need for these??
    Or am i doing something wrong here.

    dosxyz_show.c:265: error: `XmNwidth' undeclared (first use in this function)
    dosxyz_show.c:265: error: (Each undeclared identifier is reported only once
    dosxyz_show.c:265: error: for each function it appears in.)
    dosxyz_show.c:266: error: `XmNheight' undeclared (first use in this function)
    dosxyz_show.c:247: warning: return type of `main' is not `int'
    dosxyz_show.c: In function `MainWindow_Create':
    dosxyz_show.c:353: error: `XmNscrollingPolicy' undeclared (first use in this function)
    dosxyz_show.c:364: error: `XmNleftWidget' undeclared (first use in this function)
    dosxyz_show.c:365: error: `XmNleftOffset' undeclared (first use in this function)
    dosxyz_show.c:368: error: `XmNbottomOffset' undeclared (first use in this function)
    dosxyz_show.c:369: error: `XmNwidth' undeclared (first use in this function)
    dosxyz_show.c:370: error: `XmNheight' undeclared (first use in this function)
    dosxyz_show.c:375: error: `XmFONTLIST_DEFAULT_TAG' undeclared (first use in this function)
    dosxyz_show.c:377: error: `XmNlabelString' undeclared (first use in this function)
    dosxyz_show.c:439: error: `XmNrightWidget' undeclared (first use in this function)
    dosxyz_show.c:440: error: `XmNrightOffset' undeclared (first use in this function)

  2. #2
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Code:
    #include <google.h>

  3. #3
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    How is this urgent? I don't feel a sense of panic, so urgent really isn't the right word for your question.
    My best code is written with the delete key.

  4. #4
    Registered User
    Join Date
    Dec 2004
    Posts
    3
    Ok...I just want to know.

  5. #5
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,420
    I think you need to practice on something considerably less complex than an X11 motif application as your first programming experience.

    Sure I could tell you to
    #include <Xm/Xm.h>
    but that is just the very thin end of a very big wedge - installing X11 is no easy matter.

  6. #6
    Registered User
    Join Date
    Dec 2004
    Posts
    3
    I have Xm.h included.

  7. #7
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    I've used my psychic ability to examine your code and have found your problems. Now you can use your psychic ability to read my mind and get the answer. What's that you say? You don't have psychic ability? Well gee, I guess you'd better post your code so some of the others who lack psychic ability can show you where the problem is.

    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. display character size...(quite urgent..)
    By karthi in forum C Programming
    Replies: 10
    Last Post: 07-11-2007, 09:42 PM
  2. beginner plzz help urgent
    By sara101 in forum C Programming
    Replies: 11
    Last Post: 01-14-2007, 09:38 PM
  3. Linked List Need Help Urgent
    By ykchua in forum C Programming
    Replies: 5
    Last Post: 08-17-2004, 02:57 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21