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

3
Contributors
5
Replies
6
Views
5 Years
Discussion Span
Last Post by zeroliken
0

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

Edited by gerard4143: n/a

-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

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

Edited by zeroliken: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.