Set file date

M

Master of Pain

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.
 
V

Victor Bazarov

Master of Pain said:
I have to write this little program in C++, but I don't know where to start.
[...]
It's impossible for me (I'm not so good in writing C++ programs).


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

Victor
 
T

Thomas Matthews

Master said:
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.

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,145
Messages
2,570,826
Members
47,371
Latest member
Brkaa

Latest Threads

Top