opening DOS editor using C++

This is a discussion on opening DOS editor using C++ within the C++ Programming forums, part of the General Programming Boards category; I want to open a txt file in DOS editor using C++ which can be edited and saved by the ...

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,494
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,494
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

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, 03:42 PM
  2. File systems?? (Winxp -> DOS)
    By Shadow in forum Tech Board
    Replies: 4
    Last Post: 01-06-2003, 08: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, 08:02 PM
  4. Opening DOS IDE????
    By 1newbie1 in forum C Programming
    Replies: 2
    Last Post: 02-08-2002, 03: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, 12:42 PM

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