yusri@uop.EDU (Mohd Yusri Abdol) (02/21/91)
Hi Everyone! I have a quick question. How can I write a program in Turbo C++ such that I can copy a file, or delete a file, or change directory, or whatever wonderful things that DOS can do. This is actually my class project, and my professor asked me to do something like a menu program where people can just use arrow key instead of typing the command (He asked us to find ourselves, and I'm doing the right thing, right?). Thanks in advance. -- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * YUSRI di Kampung Stockton, Calif. *"The truth will hurt, but a lie * * * will do more than just that. So,* * yusri@uop.edu * learn to accept the truth when * * yabdol@madvax.uop.edu * you meet one." - EUS * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
mwizard@eecs.cs.pdx.edu (Craig Nelson) (02/21/91)
yusri@uop.EDU (Mohd Yusri Abdol) writes: >Hi Everyone! > I have a quick question. How can I write a program in Turbo C++ > such that I can copy a file, or delete a file, or change directory, > or whatever wonderful things that DOS can do. This is actually my > class project, and my professor asked me to do something like a > menu program where people can just use arrow key instead of typing > the command (He asked us to find ourselves, and I'm doing the right > thing, right?). Check out the spawn() family of functions from your text (if its even in there) or from the Turbo C++ Reference Book. This should be what you're looking for. Thats all I'll say. (Can't give away too much) Craig Nelson (mwizard@eecs.ee.pdx.edu)