clear screen

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Dec 2007
Posts: 14
Reputation: peeta is an unknown quantity at this point 
Solved Threads: 0
peeta peeta is offline Offline
Newbie Poster

clear screen

 
0
  #1
Jan 12th, 2008
hello friends

i want to clear screen after inputing data before it displays what ever the program intend to do. is there some function or special character to do that ?

secondly i want to increase size of fonts where i type my program. i try to look around but could not get through. please help otherwise i need glasses soon.

thanks for any tip in advance.
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: clear screen

 
0
  #2
Jan 13th, 2008
Without knowing which operating system / Compiler you're using, and the type of application you're trying to write, both questions are unanswerable.

Or we could make random guesses until someone gets lucky.
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 41
Reputation: #include<DAN.h> is an unknown quantity at this point 
Solved Threads: 0
#include<DAN.h> #include<DAN.h> is offline Offline
Light Poster

Re: clear screen

 
0
  #3
Jan 14th, 2008
If you're using Dev-C++ or a similer compiler on a computer running windows as an OS, and the output somes up in a cprompt window, then you can use:

  1. system("cls");

For some reason people don't like to use this though. Maybe because it's compiler or output window specific or something, but it's always worked for me. Anyways, if you need any more help, or if this doesn't work just post something and I'll take a look. ^_^
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,233
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 540
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: clear screen

 
0
  #4
Jan 14th, 2008
yeah, its windows specific - not standard c++
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 41
Reputation: #include<DAN.h> is an unknown quantity at this point 
Solved Threads: 0
#include<DAN.h> #include<DAN.h> is offline Offline
Light Poster

Re: clear screen

 
0
  #5
Jan 14th, 2008
Oh, thanks!! ^_^ I've always wondered why people told me not to use it. But seriously, most people (that I know anyways) use windows. I know one person who uses Linux and the only place that I ever see a Mac is at school.
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,740
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 739
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: clear screen

 
0
  #6
Jan 14th, 2008
>I know one person who uses Linux and the only place that I ever see a Mac is at school.
So you have two examples in your everyday life where non-portable code would be a problem.
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 41
Reputation: #include<DAN.h> is an unknown quantity at this point 
Solved Threads: 0
#include<DAN.h> #include<DAN.h> is offline Offline
Light Poster

Re: clear screen

 
-1
  #7
Jan 14th, 2008
Yes, Narue I do, but I'm not going to argue this with you as you always so to end up with person attacks instead of proffesional advice. As for peeta, if you just just look at the bottom of the screen where similar threads are listed, then you should find an answer!! ^_^
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,740
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 739
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: clear screen

 
0
  #8
Jan 14th, 2008
>I'm not going to argue this with you as you always so to
>end up with person attacks instead of proffesional advice
I see. Clearly you haven't read many of my posts then. I guess since you think so little of me, I'll save my professional advice for someone else. Good day.
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,233
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 540
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: clear screen

 
0
  #9
Jan 14th, 2008
Listen to the master. I must agree that Narue sometimes seems a bit harsh but you cannot deny that she knows a LOT about c++.
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 41
Reputation: #include<DAN.h> is an unknown quantity at this point 
Solved Threads: 0
#include<DAN.h> #include<DAN.h> is offline Offline
Light Poster

Re: clear screen

 
0
  #10
Jan 14th, 2008
Yeah, I does, that's why I sent her a PM appologizing and saying something to the same effect. ^_^
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC