Thread: opening DOS editor using C++

  1. #1
    Registered User
    Join Date
    Jul 2004
    Posts
    5

    opening DOS editor using C++

    I want to open a txt file in DOS editor using C++ which can be edited and saved by the user . Is there any inbuild command for it ? Or any code ?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Jul 2004
    Posts
    5
    I tried both system() and exec.. but these r not workin .
    In system() its givin error : Not enough memory
    While in exec.. nothin happens

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Which OS and Compiler do you have?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. opening a file in dos
    By makveli in forum C++ Programming
    Replies: 6
    Last Post: 11-12-2003, 04:42 PM
  2. File systems?? (Winxp -> DOS)
    By Shadow in forum Tech Board
    Replies: 4
    Last Post: 01-06-2003, 09:08 PM
  3. opening a file in DOS
    By alanair23 in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 12-19-2002, 09:02 PM
  4. Opening DOS IDE????
    By 1newbie1 in forum C Programming
    Replies: 2
    Last Post: 02-08-2002, 04:11 PM
  5. DOS program versus DOS console program
    By scromer in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 01-10-2002, 01:42 PM