473,402 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

directory inventory

hi all,

im a university of michigan aerospace engineering undergrad, so i have
only limited coding experience with c++

had a question regarding how to go about writing a piece of code that
will:

-go through a specified directory
-extract: -all filenames within that directory
-all directories and their files, recursively, etc, etc
-generate a list / directory map, so to speak, of all directories /
files within the specified directory

i can organize the code to do that, but im clueless as to what the
syntax would be to extract file names / directory names from a
directory.

maybe theres a simple code already out there that does this ?

the application here is to monitor and keep track of thousands of
directories / files that are constantly being created and modified by
dozens people in a design team who dont necessarily communicate
outside their sub-teams

any help / pointing me to something or someone who can help is
appreciated

thanks,
-david
Jul 22 '05 #1
3 1324
"David Tuman" <ps***********@yahoo.com> wrote...
[...] how to go about writing a piece of code that
will:

-go through a specified directory
-extract: -all filenames within that directory
[...]
any help / pointing me to something or someone who can help is
appreciated


Post this inquiry to a newsgroup that deals with your platform (OS).
There are no ways to do what you ask using just standard C++ means,
you have to use platform- (OS-) specific mechanisms.

V
Jul 22 '05 #2
David Tuman wrote:
[how do I walk directory tree? question redacted for space]


Not doable in Standard C++. You might want to check the news groups
specific to your platform. E.g. comp.unix.programmer, or the equivalent
for Win32.
Jul 22 '05 #3
David Tuman wrote:

-go through a specified directory
-extract: -all filenames within that directory
-all directories and their files, recursively, etc, etc
-generate a list / directory map, so to speak, of all directories /
files within the specified directory

i can organize the code to do that, but im clueless as to what the
syntax would be to extract file names / directory names from a
directory.


Hi!

http://www.boost.org/libs/filesystem/doc/index.htm

hth

Christoph
Jul 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: royaltiger | last post by:
I am trying to copy the inventory database in Building Access Applications by John L Viescas but when i try to run the database i get an error in the orders form when i click on the allocate...
2
by: GS | last post by:
Implemented web application using MySQL to maintain inventory of the office PC's/laptops/Routers/hubs and other stuff, here we are using MySQL as back-end Database on Linux Operating system. I need...
109
by: zaidalin79 | last post by:
I have a java class that goes for another week or so, and I am going to fail if I can't figure out this simple program. I can't get anything to compile to at least get a few points... Here are the...
0
by: south622 | last post by:
I'm taking a beginning Java course and I'm stuck in week eight of a nine week course. If anyone could help me I would greatly appreciate it. This assignment was due yesterday and each day I go past...
4
by: dnfertitta | last post by:
This is my task and I'd like some direction please: 1. Print company that houses user PDF files 2. User logs in and is brought to his own area 3. Dynamic customer inventory page is...
9
by: xxplod | last post by:
I am suppose to modify the Inventory Program so the application can handle multiple items. Use an array to store the items. The output should display the information one product at a time, including...
3
by: cblank | last post by:
I need some help if someone could help me. I know everyone is asking for help in java. But for some reason I'm the same as everyone else when it comes to programming in java. I have an inventory...
1
by: jcato77 | last post by:
I need help with a class project I'm working on, Below is my assignment and the code I have currently created. Assignment: Modify the Inventory Program by creating a subclass of the product class...
3
by: 100grand | last post by:
Modify the Inventory Program to use a GUI. The GUI should display the information one product at a time, including the item number, the name of the product, the number of units in stock, the price...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.