Template:hc
Jump to navigation
Jump to search
Description
Template for 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>