Thread
:
how to identify which OS I am using
View Single Post
•
•
Join Date: Oct 2007
Posts: 1,953
Reputation:
Solved Threads: 214
Duoas
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:
Help with Code Tags
C++ Syntax
(
Toggle Plain Text
)
if
(
system
(
"clear"
)
)
system
(
"cls"
)
;
if (system( "clear" )) system( "cls" );
However, like
ArkM
said, better to do it the Right Way.
Duoas
View Public Profile
Visit Duoas's homepage!
Find all posts by Duoas