Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.
/ CheckBit Public archive

Check ✔️ if your computer is a 64-bit or 32-bit or ARM64

License

Notifications You must be signed in to change notification settings

haneenmahd/CheckBit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CheckBit

Build App ✔️
Check ✔️ if your computer is a 64-bit or 32-bit.

Usage

#include <stdio.h>
#include "CheckBit.h"

int main() 
{
  // Initializing BitType enum
  BitType bit_type = getBitType();
  
  // 64 Bit
  if (bit_type == BIT_64) {
    puts("A 64 Bit Device");
  } else {
  // 32 Bit
    puts("A 32 Bit Device");
  }
  return 0;
}

Examples

See main.c in the root directory of the project, Which provides a good example for you.

License

This project is licensed under MIT.

About

Check ✔️ if your computer is a 64-bit or 32-bit or ARM64

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published