Tab-Size Preference: { default, 2, 3, 4, 6, 8 }
Tab-Size Preference: { [default](?ts=0), [2](?ts=2), [3](?ts=3), [4](?ts=4), [6](?ts=6), [8](?ts=8) }
With Ada.Text_IO; use Ada.Text_IO; | |
With Ada.Command_Line; use Ada.Command_Line; | |
-- Ada Time to Say Hello | |
Procedure Hello is | |
Package IO renames Ada.Text_IO; | |
Package CMD renames Ada.Command_Line; | |
Begin | |
IO.put_line( Item => "Hello, world!" ); | |
Exception |
#include <stdio.h> | |
#include <stdlib.h> | |
typedef const int INT; | |
typedef const char CHAR; | |
typedef CHAR *const PCHAR; | |
typedef char **const Ppchar; | |
extern int main( INT, Ppchar ); | |
#define by( _ ) for( auto _; ; ) |
#if __STDC__ | |
/*. sneak <stdio.h> // puts. */ | |
# include <stdlib.h> /* EXIT_FAILURE. */ | |
#else | |
# error A standard C compiler is required! | |
#endif | |
extern int main( int C, char **V ) | |
{ | |
extern int puts( const char *const ); |
Creative Commons Legal Code | |
CC0 1.0 Universal | |
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE | |
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN | |
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS | |
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES | |
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS | |
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM |
#if __STDC__ && ( 199901L <= __STDC_VERSION__ ) | |
/*...... Standard C99 Conformance Test ......*/ | |
#else | |
# error At least a standard C99 compiler is required! | |
#endif |
/*----------+----------+----------+----------+----------+----------+----------*/ | |
#if ( 199901L <= __STDC_VERSION__ ) | |
//.............................................................................0 | |
//.............................................................................1 | |
//.............................................................................2 | |
//.............................................................................3 | |
#else | |
/* | |
...............................................................................3 |
#if __STDC__ | |
#else | |
# error A standard C compiler is required! | |
#endif |
#if __STDC__ && ( 199901L <= __STDC_VERSION__ ) | |
/*...... Standard C99 Conformance Test ......*/ | |
#else | |
# error At least a standard C99 compiler is required! | |
#endif |
# Project Definition | |
CMake_Minimum_Required( VERSION 3.12 ) | |
Project( "Your Project" LANGUAGES "C" DESCRIPTION "Put some description here." HOMEPAGE_URL "https://gist.github.com/dlOuOlb/331b2539d1cf38e9cf61698c04815bc3" VERSION "0.0.0.0" ) | |
# Project Configuration | |
Set( CONFIG "Release" ) | |
Set( CMAKE_CONFIGURATION_TYPES "${CONFIG}" ) | |
Set( CMAKE_BUILD_TYPE "${CONFIG}" ) | |
Set( CMAKE_SUPPRESS_REGENERATION "ON" ) |