🍀
Pinned Loading
-
-
-
A CMake example, trivial but desperate.
A CMake example, trivial but desperate. 1# Project Definition
2CMake_Minimum_Required( VERSION 3.12 )
3Project( "Your Project" LANGUAGES "C" DESCRIPTION "Put some description here." HOMEPAGE_URL "https://gist.github.com/dlOuOlb/331b2539d1cf38e9cf61698c04815bc3" VERSION "0.0.0.0" )
45# Project Configuration
-
Changing the font color on a console.
Changing the font color on a console. 1CMake_Minimum_Required( VERSION 3.12 )
2Project( "MyColor" LANGUAGES "C" VERSION "0.0.0.0" DESCRIPTION "Changing the font color on a console." HOMEPAGE_URL "https://gist.github.com/dlOuOlb/6a491c71081bfa8189ed6553ac250bf4" )
34Set( CMAKE_C_STANDARD "90" )
5Set( CMAKE_SUPPRESS_REGENERATION "ON" )
-
A little more defined 'gets' and 'pu...
A little more defined 'gets' and 'puts'. 1#if __STDC__ && ( 199901L <= __STDC_VERSION__ )
2/*...... Standard C99 Conformance Test ......*/
3#else
4# error At least a standard C99 compiler is required!
5#endif
-
Checked basic arithmetic operations ...
Checked basic arithmetic operations ( + - * / ). 1#if __STDC__ && ( 199901L <= __STDC_VERSION__ )
2/*...... Standard C99 Conformance Test ......*/
3#else
4# error At least a standard C99 compiler is required!
5#endif
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.