Help with strings and file directory tree

Please support our C advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Sep 2004
Posts: 56
Reputation: jasweb2002 is an unknown quantity at this point 
Solved Threads: 2
jasweb2002 jasweb2002 is offline Offline
Junior Poster in Training

Help with strings and file directory tree

 
0
  #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.
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 220
Reputation: frrossk is an unknown quantity at this point 
Solved Threads: 9
frrossk's Avatar
frrossk frrossk is offline Offline
Posting Whiz in Training

Re: Help with strings and file directory tree

 
0
  #2
Nov 3rd, 2004
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC