Results 1 to 3 of 3

Thread: Eliminating a file in C++?

  1. #1
    WilsonMartin is offline Senior Member
    Join Date
    Dec 2009
    Posts
    319
    Rep Power
    3

    Default Eliminating a file in C++?

    Provide me few good explanations for this. What steps will be needed to do this

    Please do help me out so that I can make the issue to be sorted

  2. #2
    AndersonDiaz is offline Senior Member
    Join Date
    Dec 2009
    Posts
    311
    Rep Power
    3

    Default

    Enter the eliminate command into your program. The syntax for file elimination in C++ is "int eliminate (constant char * filename)". This will eliminate a file named "filename". The command will revisit a zero if the elimination has been winning and an error message if not.

  3. #3
    ThomasBarnes is offline Senior Member
    Join Date
    Dec 2009
    Posts
    303
    Rep Power
    3

    Default

    The ASP Methods

    Download ASP.NET from the Microsoft download site and install. Import a file class called System.IO namespace that give still methods for interacting with files. Produce a case of the StreamWriter object. This will proceed as a file pointer. Appeal to the "CreateText" technique of an article called "File." This makes a lane of the file to be produced.
    The Syntax

    Fire up your growth application, choose "ASP Code" and paste the code below:

    <%@ Import Namespace= "System.IO" %>

    Dim me as Stream Writer

    Try
    Me= File.CreateText (Server. MapPath ("\path\") & "myfile.txt")

    End Try

    End Sub

    Save the file.

    The over code makes a file called "myfile.txt" Make sure that the section ("\path\") orientation a real path on your hard drive where the text is to be stored.

Similar Threads

  1. Eliminating adware
    By Millerjames in forum Software Jargons
    Replies: 1
    Last Post: 08-10-2010, 04:22 PM
  2. Eliminating a file in C++?
    By Garcíarobine in forum Programming
    Replies: 0
    Last Post: 08-09-2010, 01:34 PM
  3. Eliminating the regedit.exe disease
    By CruzPowell in forum General Internet Terms
    Replies: 1
    Last Post: 05-31-2010, 02:15 PM
  4. Eliminating Trojan mediator.
    By RogersNguyen in forum other peripherals
    Replies: 1
    Last Post: 05-31-2010, 02:02 PM
  5. Eliminating an Ad clicker Trojan
    By CoxWatson in forum Networking Jargons
    Replies: 1
    Last Post: 05-31-2010, 01:49 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48