Thread: help on creating files

  1. #1
    Unregistered
    Guest

    help on creating files

    how does i creates files through a program

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    how does i creates files through a program
    Wow Ali G posts a C question

    J/k...

    Try fopen("myfile.txt","w");

  3. #3
    Unregistered
    Guest
    huh i not opening a file im createing one ya know like in games how it creates files when you save

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    It will open a new one

  5. #5
    Registered User mill1000's Avatar
    Join Date
    Nov 2001
    Posts
    43
    ok heres the deal i making a hoax to pull on my friend what i want it to do is to create a files that he dose not know and it will delete it but there will be a mesage saying deleting c:\window\somthing inportant but it wont understad so i cant hav it open a file

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Multiple Cpp Files
    By w4ck0z in forum C++ Programming
    Replies: 5
    Last Post: 11-14-2005, 02:41 PM
  2. creating multiple files
    By lime in forum C Programming
    Replies: 8
    Last Post: 01-01-2004, 02:55 PM
  3. Creating text files
    By Crash1322 in forum C++ Programming
    Replies: 4
    Last Post: 12-15-2003, 09:55 PM
  4. 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, 08:12 PM
  5. reinserting htm files into chm help files
    By verb in forum Windows Programming
    Replies: 0
    Last Post: 02-15-2002, 09:35 AM