Connecting Tech Pros Worldwide Forums | Help | Site Map

Set file date

Master of Pain
Guest
 
Posts: n/a
#1: Jul 19 '05
Hi,
I have to write this little program in C++, but I don't know where to start.
The program must prompt user for a date and a time (no problem here) and
change the file create/access/write time/date (!!!).
I'm using Borland C++ Builder 5.5, I think I have to include/use <io> and
<dos>, but I can't do anything good. Please, can anyone help me?
It's impossible for me (I'm not so good in writing C++ programs).
Thanks in advance.





Victor Bazarov
Guest
 
Posts: n/a
#2: Jul 19 '05

re: Set file date


"Master of Pain" <mpMPalla@tiscali.it> wrote...[color=blue]
> I have to write this little program in C++, but I don't know where to[/color]
start.[color=blue]
> [...]
> It's impossible for me (I'm not so good in writing C++ programs).[/color]


If writing C++ is impossible for you, start by hiring a C++ programmer.
misc.jobs.offered is a good newsgroup for that.

Victor




Thomas Matthews
Guest
 
Posts: n/a
#3: Jul 19 '05

re: Set file date


Master of Pain wrote:
[color=blue]
> Hi,
> I have to write this little program in C++, but I don't know where to start.
> The program must prompt user for a date and a time (no problem here) and
> change the file create/access/write time/date (!!!).
> I'm using Borland C++ Builder 5.5, I think I have to include/use <io> and
> <dos>, but I can't do anything good. Please, can anyone help me?
> It's impossible for me (I'm not so good in writing C++ programs).
> Thanks in advance.[/color]

Unfortunately, the C++ language specification does not require a
platform to support files, nor does it impose any restrictions
for file attributes. All this is platform (operating system)
specific. Hmmm, best place for help is in a platform specific
newsgroup or perhaps a compiler specific newsgroup.

Read the FAQ and Welcome.txt links below.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book

Closed Thread