• Advertisement

Archived

This topic is now archived and is closed to further replies.

Which header to include for using system(”cls”); ?

This topic is 5159 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

To use the function (windows - clears window): system(”cls”); ..what header-file do I need to include?

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
quote:
Original post by ZealousElixir
cstdlib

or nothing.


stdlib.h is valid

Share this post


Link to post
Share on other sites
quote:
Original post by Anonymous Poster
quote:
Original post by ZealousElixir
cstdlib

or nothing.


stdlib.h is valid

Only in C. In C++ it''s deprecated.

Share this post


Link to post
Share on other sites

  • Advertisement