473,396 Members | 2,037 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,396 software developers and data experts.

It should count the Files and Directories in root folder with every folder infomatio

sir i need a code in c++

it should count the Files and Directories in root folder with every folder information i need the below information

1) no of files and folder
2) how many files are there in each folder
3) with size of every folder and files it contains
i a, using DEV-C ++ compiler.


i am new in c++ i need this code please help me sir.
Jul 25 '13 #1
1 1222
weaknessforcats
9,208 Expert Mod 8TB
You are not going to learn how to do this if someone else does the work for you.

I can help you but you have to post your code that does not work.
Jul 25 '13 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: D. Alvarado | last post by:
Hello, I am running PHP 4 on my Fedora Core 2 dev machine, Apache 1.31. I made a lot of calls to $_SERVER. Unfortunately, when I move my application to a Windows environment, running on an IIS...
10
by: rbt | last post by:
I assume that there's a better way than this to count the files in a directory recursively. Is there??? def count_em(valid_path): x = 0 for root, dirs, files in os.walk(valid_path): for f in...
1
by: Sue | last post by:
How can I count the number of files in a folder? Thanks for all help!! Sue
3
by: simonharrison | last post by:
Hello everyone. Hopefully someone can point me in the right direction here. I'm wanting to write a script to open microsoft word and adobe pdf documents . Here is a little background: At the...
3
by: umut.tabak | last post by:
Dear all, We have a multi-platform application(Windows-Linux). Linux part of our application is writing some input and trigger files on the a shared drive. What I want to do is to be able to...
2
by: nospam | last post by:
I am writing this app in .net 2003 since all machines don't have 2.0 framework. I am trying to delete old profiles, but I am getting access denied or file in use errors. A lot of these files I am...
3
by: Benry | last post by:
Without having a reference to a specific folder, is there a way that Windows fires an event when files in a folder are modified? I'm using C++.NET 2.0 for programming a service, and would like...
1
by: TechieGrl | last post by:
I want to save a zip file daily. The file is named the same thing each day so I would like to create a folder and name it with today's date and then save the zip file into that folder. I'm...
1
by: =?Utf-8?B?d2lubGlu?= | last post by:
Hello 1)When using VS 2005 and VB.net when wouldn't the: reference folder, bin folder, obj folder not be present after creating a VB net Windows Application and only the form1.vb and MyProject...
2
by: aravind7190 | last post by:
Hi all, I created a folder with a code to lock all the files. Today i drag that folder to desktop, when i see in that folder no files are there.One control panel is automatically created and when...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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
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.