Results 1 to 3 of 3

Thread: delete a line from the console window[C]

  1. #1
    Join Date
    Feb 2009

    delete a line from the console window[C]

    with a program in c is possible with the function system ( "cls"); clear the screen of the console but if I wanted to delete a single line for the previous example to cursone? C provides such a function, or is expected to feature among the commands of DOS?

  2. #2
    Join Date
    Dec 2008

    Re: delete a line from the console window[C]

    The console functions enable different levels of access to a console. The high-level console I / O functions enable an application to read from standard input to retrieve stored keyboard input in a console's input buffer. The functions also enable an application to write to standard output or standard error to display text in the console's screen buffer. The high-level functions also support redirection of standard handles and control of different modes for console I / O functionality. The low-level console I / O functions enable applications to receive detailed input about keyboard and mouse events, as well as events involving user interactions with the console window. The low-level functions also enable greater control of output to the screen.

  3. #3
    Join Date
    Mar 2008

    Re: delete a line from the console window[C]

    I do not think there is such a function ... if not, you could store the contents of the terminal into a variable (if possible), erase everything and rewrite the variable line by removing the "junk".
    But I said to you, I am not sure that we can do.

Similar Threads

  1. Spec Ops: The Line - Gaming Console vs. PC version
    By messi-m in forum Polls & Voting
    Replies: 4
    Last Post: 05-07-2012, 06:55 PM
  2. Replies: 3
    Last Post: 30-01-2010, 07:05 AM
  3. Console Window flashes on and off while running C++
    By hariharan_00 in forum Software Development
    Replies: 5
    Last Post: 20-01-2010, 10:56 PM
  4. how do i delete line on address bar
    By Mannat in forum Windows Software
    Replies: 3
    Last Post: 18-08-2009, 10:34 AM
  5. Subject: Need to hide a console window.
    By Kitaen in forum Windows XP Support
    Replies: 1
    Last Post: 27-03-2008, 09:49 PM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Page generated in 1,686,003,817.13289 seconds with 17 queries