Align columns/C: Difference between revisions
Content deleted Content added
mNo edit summary |
m Fixed syntax highlighting. |
||
Line 1: | Line 1: | ||
{{collection|Column Aligner}} |
{{collection|Column Aligner}} |
||
< |
<syntaxhighlight lang="c">#include <stdio.h> |
||
const char *str = |
const char *str = |
||
Line 56: | Line 56: | ||
puts("\n---- center ----"); align(str, 'c'); |
puts("\n---- center ----"); align(str, 'c'); |
||
return 0; |
return 0; |
||
}</ |
}</syntaxhighlight> |