Align columns/C: Difference between revisions

Content deleted Content added
mNo edit summary
PureFox (talk | contribs)
m Fixed syntax highlighting.
 
Line 1: Line 1:
{{collection|Column Aligner}}
{{collection|Column Aligner}}


<lang c>#include <stdio.h>
<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;
}</lang>
}</syntaxhighlight>