CSV to HTML translation: Difference between revisions
Content deleted Content added
Line 450: | Line 450: | ||
<lang c>#include <stdio.h> |
<lang c>#include <stdio.h> |
||
char input |
const char *input = |
||
"Character,Speech\n" |
"Character,Speech\n" |
||
"The multitude,The messiah! Show us the messiah!\n" |
"The multitude,The messiah! Show us the messiah!\n" |
||
Line 461: | Line 461: | ||
int main() |
int main() |
||
{ |
{ |
||
char *s |
const char *s; |
||
printf("<table>\n<tr><td>"); |
printf("<table>\n<tr><td>"); |
||
for (s = input; *s; s++) { |
for (s = input; *s; s++) { |