View Single Post
Join Date: Oct 2007
Posts: 1,953
Reputation: Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of 
Solved Threads: 214
Featured Poster
Duoas's Avatar
Duoas Duoas is offline Offline
Posting Virtuoso

Re: how to identify which OS I am using

 
0
  #15
Oct 2nd, 2008
If this is just some homework problem, you could try one, then the other. Only one will work:
  1. if (system( "clear" )) system( "cls" );

However, like ArkM said, better to do it the Right Way.
Reply With Quote