Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Opening Folders with C++
Name: Alonzo Jones Date: February 21, 2002 at 05:56:17 Pacific
Comment:
I am writing a program that requires a subroutine to be able open Folders or directories. The objective is to input a folder pathway have the program open the directory read the names of the files from the directory and story them into an array. The problem is i have no idea how to open a directory and if i can then to an ifstream to read in the file names. I am programming in Visual C++ 6.0 Enterprise edition,can anyone help me?
Summary: how can i make a folder with c language. I try this code but didn't work. #include #include main() { char *command = "mkdir test"; system(command); return 0; } but unfortunately no fo...
Summary: Hi I just started with c programing ,, I created a folder in c drive and created a file which I compiled sucessfuly but after that I need to run it to see the results how do i do that please do i link...