Skip to content
/ cctx Public

Get basic knowledge of your C/C++ context : compiler, architecture, language, features...

Notifications You must be signed in to change notification settings

domalb/cctx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C Context (CCTX)

Get basic knowledge of your C/C++ context : compiler, architecture, language, platform, features...

Compiler

Include cctx_compiler.h and detect the compiler your code is compiled for

Architecture

Include cctx_architecture.h and detect the architecture your code is compiled for

With information regarding to pointer size (2, 4 or 8)

Endianness

Include cctx_endian.h and detect the endianness your code is compiled for

  • Little
  • Big
  • Middle-little
  • Middle-big

Language

Include cctx_language.h and detect language currently compiled

  • Assembly (GCC preprocessing)
  • C
  • C++
  • C++/CLI
  • C++/CX
  • Objective-C

Platform

Include cctx_platform.h and detect the platform (OS) your code is compiled for

  • DOS
  • Windows
  • MacOS
  • Linux
  • MinGW
  • Solaris
  • SunOS
  • HPUX
  • BSD Unix
  • AIX
  • QNX
  • Cygwin
  • BeOS
  • XBox360
  • XBoxOne
  • DS
  • GameCube
  • Wii
  • Switch
  • PSP
  • PS2
  • PS3
  • PS4
  • Android
  • iOS Simulator
  • iOS Device
  • Chrome Native Client
  • AmigaOS

Features

About

Get basic knowledge of your C/C++ context : compiler, architecture, language, features...

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published