•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C section within the Software Development category of DaniWeb, a massive community of 426,884 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,380 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C advertiser: Programming Forums
Views: 1883 | Replies: 1
![]() |
•
•
Join Date: Sep 2004
Posts: 56
Reputation:
Rep Power: 5
Solved Threads: 1
Hey Everyone,
I need to write a program where the first half builds what is basically a file directroy tree. Files and their paths will come in from file in the form...
/program/file/whatever
... and be read into a string. Problem is I don't know how to manipulate strings very well. What I need to know would be how to pull out "program" for example. Then when done using that, check for and remove "/" and then pull out "file". If not could someone give me a link to a good site with all available string functions? Thanks for the help.
I need to write a program where the first half builds what is basically a file directroy tree. Files and their paths will come in from file in the form...
/program/file/whatever
... and be read into a string. Problem is I don't know how to manipulate strings very well. What I need to know would be how to pull out "program" for example. Then when done using that, check for and remove "/" and then pull out "file". If not could someone give me a link to a good site with all available string functions? Thanks for the help.
![]() |
•
•
•
•
•
•
•
•
DaniWeb C Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- mkdir() failed (No such file or directory) (PHP)
- I get the error no file or directory when i try to run a perl script (Perl)
- comparing two directory tree structures (Shell Scripting)
- HTTP Error 404 - File or directory not found. (ASP.NET)
- No such file or directory (C)
- fopen: No such file or directory (*nix Software)
Other Threads in the C Forum
- Previous Thread: CYK algo
- Next Thread: MERGED: Deleting duplicates in an array (plz help me out!!!!!!!)


Linear Mode