The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
help with return codes ammu Shell Programming and Scripting 2 02-04-2008 11:57 AM
LCD codes on a P570 johnf AIX 5 11-07-2006 07:00 PM
Return Codes kris01752 UNIX for Advanced & Expert Users 3 09-25-2006 09:40 AM
Know any good codes? fgjiu UNIX for Advanced & Expert Users 2 03-07-2006 02:33 PM
exit codes donna carter High Level Programming 3 05-31-2001 06:35 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #8  
Old 01-02-2002
sskb
Guest
 

Posts: n/a
Hi Shaik,
I tried the code which got me some messages that i could not understand.
could you please look into that.

I ran it on HPUX B.11.00
The message is as follows..

/usr/ccs/bin/ld: Unsatisfied symbols:
stdscr (data)
wgetch (code)
initscr (code)
endwin (code)
Reply With Quote
Forum Sponsor
  #9  
Old 01-02-2002
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,616
Those routines are in the curses library. When you compile you need to do something like:
cc whatever.c -lcurses -o whatever
Reply With Quote
  #10  
Old 01-02-2002
sskb
Guest
 

Posts: n/a
thanks Perderabo,
it is working fine
Reply With Quote
  #11  
Old 01-02-2002
Registered User
 

Join Date: Oct 2001
Location: India
Posts: 45
Thumbs up Thanks I got it

Hi Shaik, Perderabo,
I got it, its working fine.
Many Thanks to All

Wish You all a Very Happy New Year 2002!!!
Anent
Reply With Quote
  #12  
Old 01-13-2002
Registered User
 

Join Date: Jan 2002
Location: Bangalore
Posts: 1
Post

Hi All.
I am still a beginner in Unix.I have got one program.i am not getting the solution for one program.Will anybody help me soon.

Q.write a C program which accepts a valid directory name as a command line argument and list all the files in the given diirectory as well as all the files in subsequent directories.(The solution can be recursive or non-recursive).

I need the solution immediately.I need it desperately within 15th Jan.
Reply With Quote
  #13  
Old 01-14-2002
shaik786
Guest
 

Posts: n/a
See the man pages on:

Code:

opendir()
readdir()
closedir()
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:12 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0