1.11M Members

get word from path

 
0
 

Hello ,
I'm new here and new to c/c++ programming.
Can you guide me how to extract user from path like : /home/user/public_html

Please help me , thanks a lot

 
0
 

It really depends on your extraction criteria but I would start investigating functions like strtok().

 
-1
 

Thanks For your replay
but i do not know any thing in c
can you write the code please.

 
0
 

Thanks For your replay
but i do not know any thing in c
can you write the code please.

No, absolutely not.

 
0
 

anybody can help me please

 
0
 

okay before we give more help what have you researched so far did you try to google search about the topic?

but i do not know any thing in c
can you write the code please.

Sorry but no ones gonna serve you code here without doing your part
forum rule:
Keep It Organized:
Do provide evidence of having done some work yourself if posting questions from school or work assignments

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article