Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 26-03-2009
Member
 
Join Date: Feb 2009
Posts: 78
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?
Reply With Quote
  #2  
Old 26-03-2009
Member
 
Join Date: Dec 2008
Posts: 69
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.
Reply With Quote
  #3  
Old 26-03-2009
Member
 
Join Date: Mar 2008
Posts: 258
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "delete a line from the console window[C]"
Thread Thread Starter Forum Replies Last Post
Spec Ops: The Line - Gaming Console vs. PC version messi-m Polls & Voting 4 05-07-2012 06:55 PM
How to get rid of the parser message window as it say value creation failed at line 451? KeJes Windows Software 3 30-01-2010 07:05 AM
Console Window flashes on and off while running C++ hariharan_00 Software Development 5 20-01-2010 10:56 PM
how do i delete line on address bar Mannat Windows Software 3 18-08-2009 10:34 AM
Subject: Need to hide a console window. Kitaen Windows XP Support 1 27-03-2008 09:49 PM


All times are GMT +5.5. The time now is 01:45 AM.