Template:CompilerExplorerExample

From emmtrix Wiki
Jump to navigation Jump to search

Generates a link to Compiler Explorer with specified source code, compiler options, and compiler version.

Template parameters

ParameterDescriptionTypeStatus
Compiler Optionsoptions

The compiler options to use.

Stringoptional
Source Codesource

The source code to be compiled and viewed in Compiler Explorer.

Stringrequired
Compiler Outputoutput

no description

Default
Example
Stringrequired
Compilercompiler

The compiler version to use.

Stringrequired
Languagelang

The language to use (c or c++)

Stringsuggested

>

|} </includeonly>