Author Topic: How do I clear the terminal in a c++ program on a mac?  (Read 228 times)

Offline Fletcher

  • 1
  • Newbie
  • *
  • Posts: 0
  • Karma: +0/-0
    • View Profile
How do I clear the terminal in a c++ program on a mac?
« on: November 17, 2016, 07:04:54 PM »
Hi everyone, I have a small question that I can not answer, how do i clear the terminal in a c++ program on a mac? Please kindly give me an answer please as soon as possible.
« Last Edit: April 30, 2017, 10:04:05 AM by Sofyene »



Offline Angus

  • 1
  • Newbie
  • *
  • Posts: 0
  • Karma: +0/-0
    • View Profile
Re: Clear the terminal in a c++ program
« Reply #1 on: April 30, 2017, 10:08:46 AM »
mac osx uses system("clear)";


 

Sitemap 1 2 3 4 5 6 7 8 9