deleting files not in fstream?

This is a discussion on deleting files not in fstream? within the C++ Programming forums, part of the General Programming Boards category; how do I delete files? I've tried using fstream.h but could not find any function to remove files. Can anyone ...

  1. #1
    Unregistered
    Guest

    deleting files not in fstream?

    how do I delete files?
    I've tried using fstream.h but could not find any function to remove files. Can anyone help?

  2. #2
    zen
    zen is offline
    of Zen Hall zen's Avatar
    Join Date
    Aug 2001
    Posts
    1,007
    You can use remove(), in <cstdio>.
    zen

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Deleting multiple files using C
    By dj.turkmaster in forum C Programming
    Replies: 8
    Last Post: 01-26-2009, 12:31 PM
  2. Linking header files, Source files and main program(Accel. C++)
    By Daniel Primed in forum C++ Programming
    Replies: 3
    Last Post: 01-17-2006, 11:46 AM
  3. I Need To Know Some Things That I Can Put Into A Batch File
    By TheRealNapster in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 10-20-2003, 09:12 PM
  4. Deleting files.
    By Paninaro in forum C Programming
    Replies: 5
    Last Post: 06-19-2002, 02:22 AM
  5. reinserting htm files into chm help files
    By verb in forum Windows Programming
    Replies: 0
    Last Post: 02-15-2002, 09:35 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21