User Name Password Register
DaniWeb IT Discussion Community
All
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
Reply
Join Date: Sep 2004
Posts: 56
Reputation: jasweb2002 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 1
jasweb2002 jasweb2002 is offline Offline
Junior Poster in Training

Help with strings and file directory tree

  #1  
Nov 2nd, 2004
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.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Sep 2004
Posts: 220
Reputation: frrossk is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 9
frrossk's Avatar
frrossk frrossk is offline Offline
Posting Whiz in Training

Re: Help with strings and file directory tree

  #2  
Nov 3rd, 2004
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb C Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the C Forum

All times are GMT -4. The time now is 10:42 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC