user3431283
user3431283

Reputation:

How to Clear terminal screen c++ on mac osx using codeblocks?

I'm using codeblocks (c++) on a mac. I usually use system("cls") when using a windows machine. How can I use something similar on the mac? thanks.

Upvotes: 4

Views: 13349

Answers (1)

Matthew Mccall
Matthew Mccall

Reputation: 163

macOS uses system("clear");

though there are better solutions

Upvotes: 5

Related Questions