question about the file

This is a discussion on question about the file within the C Programming forums, part of the General Programming Boards category; Code: ............ file1 = fopen("infile1","a+"); ............ How do I make infile1 empty at last...

  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    41

    question about the file

    Code:
    ............
    file1 = fopen("infile1","a+");
    ............
    How do I make infile1 empty at last

  2. #2
    uint64_t...think positive xuftugulus's Avatar
    Join Date
    Feb 2008
    Location
    Pacem
    Posts
    355
    Quote Originally Posted by thungmail View Post
    Code:
    ............
    file1 = fopen("infile1","a+");
    ............
    How do I make infile1 empty at last
    Code:
    file1 = fopen("infile1","w");
    Code:
    ...
        goto johny_walker_red_label;
    johny_walker_blue_label: exit(-149$);
    johny_walker_red_label : exit( -22$);
    A typical example of ...cheap programming practices.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A development process
    By Noir in forum C Programming
    Replies: 37
    Last Post: 07-10-2011, 11:39 PM
  2. help with text input
    By Alphawaves in forum C Programming
    Replies: 8
    Last Post: 04-08-2007, 05:54 PM
  3. Post...
    By maxorator in forum C++ Programming
    Replies: 12
    Last Post: 10-11-2005, 09:39 AM
  4. Encryption program
    By zeiffelz in forum C Programming
    Replies: 1
    Last Post: 06-15-2005, 04:39 AM
  5. Replies: 3
    Last Post: 03-04-2005, 02:46 PM

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