detect os javascript
window.navigator.platform
how to get os name in c++
#include <stdio.h>
#if defined(_WIN32) || defined(_WIN64)
const char* os = "Windows";
#else
#ifdef __linux
const char* os = "Linux";
#else
const char* os = "Unknown";
#endif
#endif
int main(void)
{
printf("os = %sn", os);
return 0;
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us