Template:Hc

From Dev Wiki
Jump to navigation Jump to search

General page acquired from from https://wiki.archlinux.org/index.php/Template:Hc

Description

Template for Block Code with Header.

Usage

  • 1 or head: the code in the top pane
  • 2 or output: the code in the bottom pane
{{hc|main.h|#include<stdio.h>}}
{{hc|head=main.h|output=#include<stdio.h>}}

Example

main.h
#include<stdio.h>