Template:hc
Block code with header.
- Use Template:bc for block code without header.
- Use Template:ic for inline code.
Usage
1
orhead
: the code in the top pane2
oroutput
: 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>