Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
C question
Name: David Date: May 14, 2002 at 13:24:42 Pacific
Comment:
I want to get a list (text file) of contents of a specified folder using C language. Ex: if the folder contains: file1.exe, text.txt.. so on.... my list will contain: file1.exe, text.txt,........ thanks
Name: Don Arnett Date: May 14, 2002 at 13:35:35 Pacific
Reply:
C doesn't have standard functions for reading a directory listing. You'll have to find the proper functions based upon your operating system and the C libraries that you have available.
What OS and compiler are you using?
0
Response Number 2
Name: David Date: May 15, 2002 at 01:53:09 Pacific
Reply:
win2000 and codeWarrior IDE version 4.2.5 or Mac OS9, Mac OSX, and the same compiler.
0
Response Number 3
Name: Steve Stiffler Date: May 15, 2002 at 04:10:05 Pacific
Reply:
You can use the ANSI c library "io.h" and the commands:
_findfirst _findnext
for a command-description please have a loopk at the i-net ;-)
good luck steve
0
Response Number 4
Name: andi Date: June 25, 2002 at 00:12:00 Pacific
Reply:
how i should write the synthax if i want to wait for enter pressing by user
Summary: Hi, I started teaching myself C++ a few days ago. I'm coming along well and learning a lot! My question is, I'm looking to eventually make 32 bit window programs and dos like programs with graphics, a...
Summary: Hello programmers! I have a small and slight set of questions.I'm making a command prompt program thats suppose to look like its formatting the c drive, but of corse it wont. 1)Is there a code to make...
Summary: i'm learning C++ for the first time. This is my question: i'm trying to make a program that will count the number of letters and words. thank you Tk/ ...