-2
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>

int main()
{
    printf("*********");
    system("clear");
    printf("#####");
}

Usually it works but it is not working in Xcode.

Cœur
  • 37,241
  • 25
  • 195
  • 267
  • 2
    _"but it is networking in XCODE."_ Did you mean to write _"but it is **not working** in XCODE."_? You should note that `clear` is a command to clear the terminal output which isn't available at all operating systems and terminals. I also doub't that `#include` will work properly on any modern c++ development environment. – πάντα ῥεῖ Apr 06 '19 at 13:05

1 Answers1

0

There is already another thread, which has been answered. I recommend to tryout this answer: Clear Screen in Xcode

The referenced CPP forum article is quite interesting as well. (http://www.cplusplus.com/forum/articles/10515/)

WolverinDEV
  • 146
  • 1
  • 5