https://github.com/ignackocom/cppclistandards
Cpp Cli Standards files
https://github.com/ignackocom/cppclistandards
c code mit-license source standard
Last synced: 7 months ago
JSON representation
Cpp Cli Standards files
- Host: GitHub
- URL: https://github.com/ignackocom/cppclistandards
- Owner: ignackocom
- License: mit
- Created: 2025-03-17T18:52:57.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-03-17T18:55:55.000Z (11 months ago)
- Last Synced: 2025-03-17T19:42:58.136Z (11 months ago)
- Topics: c, code, mit-license, source, standard
- Language: C
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License.txt
Awesome Lists containing this project
README
# CppCliStandards
Cpp Cli standard constants
Example of use
```c
#if defined(__cplusplus_cli) && __cplusplus_cli >= CPPCLI
...
CPPCLI code
...
#endif
```
another example
```c
#if CPLUSPLUSCLI_VERSION == CPPPRECLI
...
CPPPRECLI code
...
#elif CPLUSPLUSCLI_VERSION == CPPCLI
...
CPPCLI code
...
#else
...
other code
...
#endif
```
another example
```c
printf("cpp cli version = %ld\n", GET_CPLUSPLUSCLI_VERSION());
printf("cpp cli version year = %ld\n", GET_CPLUSPLUSCLI_VERSION_YEAR());
```
# History of changes ...