help on creating files

This is a discussion on help on creating files within the C++ Programming forums, part of the General Programming Boards category; how does i creates files through a program...

  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,786
    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,786
    It will open a new one

  5. #5
    Registered User mill1000's Avatar
    Join Date
    Nov 2001
    Posts
    45
    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, 01:41 PM
  2. creating multiple files
    By lime in forum C Programming
    Replies: 8
    Last Post: 01-01-2004, 01:55 PM
  3. Creating text files
    By Crash1322 in forum C++ Programming
    Replies: 4
    Last Post: 12-15-2003, 08: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, 08:35 AM

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