Thanks, Swoopy....will give it a try
Type: Posts; User: BBez
Thanks, Swoopy....will give it a try
Thanks Syntax, will try it as I'm currently trying it with exit(-1);
running a program with Turbo C++ 4.5. On menu option to close program, it terminates and displays inactive. Anyone know how I could get C++ to close the Window on termination automatically instead of...
Much appreciated Elad...will give it a shot...
Yes E-lad, I know. It's the way the college have shown us. Everything I read about is classes. When I wrote a program with classes the tutor wouldn't help me. ps I finally used IOS::TRUNC |IOS::OUT...
Many thanks for the replies. Will give it a shot. ps I used fstream <filenames> as a global, is this acceptable..?
How do I get a file to truncate, not append upon closing the program. When I close it, it writes to the file, but instead of updating the numeric total count it appends to it. Using the IOS::ATE |...