Methods to handle filename extensions?
- From: gmtonyhoyt@xxxxxxxxx
- Date: 15 Jun 2005 08:58:42 -0700
I need assistance coming up with a clean way to handle filename
extensions with my application.
While I can come up with several ways of doing so on my own, I felt
perhaps it would be worth asking here to see what more effective or
accepted methods for doing would be presented.
The issue is this. My application accepts files names, intended for
a cross platform unix and windows environment, from the command line.
So the application may get a file name '/home/joe/myExample.ct',
'C:\Work\myExample.ct' or more generically 'myExample.ct' My
application is to convert the data in the .ct file, into something new,
then enter the data into a file in the local directory the application
was executed named 'myExample.out'.
Is their a simplified way to handle this problem?
Tony
.
- Follow-Ups:
- Re: Methods to handle filename extensions?
- From: Keith Thompson
- Re: Methods to handle filename extensions?
- From: CBFalconer
- Re: Methods to handle filename extensions?
- From: Chris Johnson
- Re: Methods to handle filename extensions?
- From: Martin Ambuhl
- Re: Methods to handle filename extensions?
- From: No Such Luck
- Re: Methods to handle filename extensions?
- From: Eric Sosman
- Re: Methods to handle filename extensions?
- Prev by Date: Re: pow(2, 1/2) != pow(2, 0.5) problem
- Next by Date: Re: padding mechanism in structures
- Previous by thread: Interpreting CDROM_GET_CAPABILITIES ioctl
- Next by thread: Re: Methods to handle filename extensions?
- Index(es):
Relevant Pages
|