C/C++ Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingC/C++ Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old May 29th, 2004, 04:46 PM
xav3x xav3x is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 2 xav3x User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question C++ in Xcode. Clear Screen? extra ASCII characters?

anyone know how to clear screen in Xcode for c++ tool project?

on a pc.. it was system("cls");
i've tried system("clear");

but it doesn't work either.

also i'm looking for more characters to use.. does any know how i can get triangles and double borders characters so i can us them to draw boxes?

thanks your help is much appreciated.

oh and if there is another program that can do this properly on a mac, please let me know.. i'm using my powerbook to finish up my c++ class since my pc laptop died.

Reply With Quote
  #2  
Old May 31st, 2004, 03:50 AM
ayan ayan is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: cebu
Posts: 8 ayan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
i've no mac exp but i do this with gcc to produce ascii chars.
Code:
 #include<iostream>
 main(){
 	for(int i=0;i<255;i++) cout<<"  "<<i<<char(i)<<"  ";
 }
 

got no answer about your clear thing, sorry...

Reply With Quote
  #3  
Old June 1st, 2004, 02:20 AM
xav3x xav3x is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 2 xav3x User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thank you! umm but yea i tried it and it didn't give me much .. lol i got alot of slashes and numbers.. yea anyways.. thanks .

Reply With Quote
  #4  
Old March 17th, 2005, 12:25 PM
Randall311 Randall311 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 9 Randall311 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 57 m 51 sec
Reputation Power: 0
Quote:
Originally Posted by xav3x
anyone know how to clear screen in Xcode for c++ tool project?

on a pc.. it was system("cls");
i've tried system("clear");

but it doesn't work either.

also i'm looking for more characters to use.. does any know how i can get triangles and double borders characters so i can us them to draw boxes?

thanks your help is much appreciated.

oh and if there is another program that can do this properly on a mac, please let me know.. i'm using my powerbook to finish up my c++ class since my pc laptop died.


I believe that
Code:
system("clear");
should work if you're using gcc to compile. One thing I suggest is to make sure that you have
Code:
#include <stdlib.h>
in your includes.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingC/C++ Help > C++ in Xcode. Clear Screen? extra ASCII characters?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT