shafiqdms1
Regular
I know a lot of you are programmers, so I thought of getting help here
In the computer lanuage C, what is the code used to detect OS (like Windows XP or Vista)?
I am trying to make a program that in the beginning it checks the operating system and says : "Windows XP detected" or "Windows Vista detected" when run on one of those operating systems, if you know the code, please share.
Thanks in advance,
-Shafiq
In the computer lanuage C, what is the code used to detect OS (like Windows XP or Vista)?
I am trying to make a program that in the beginning it checks the operating system and says : "Windows XP detected" or "Windows Vista detected" when run on one of those operating systems, if you know the code, please share.
Thanks in advance,
-Shafiq