[Dev-C++] ANSI C: How to split path and filename
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <vil...@ya...> - 2001-06-07 09:03:18
|
Hello,
how do I split my path and my filename?
Example:
c:\things\alfa\myfile.txt
like: char *thepath ----> c:\things\alfa
char *thefile ----> myfile.txt
in ANSI C (or C), meaning the same way with DOS or UNIX
There is anywhere to find this kind of things? (I couldn't find in the help
neither in Bob Stout's snippets)
Thanks.
_______________________________________________________________
Do You Yahoo!?
Yahoo! Messenger: Comunicación instantánea gratis con tu gente -
http://messenger.yahoo.es
|