[En-Nut-Discussion] in httpd.c

Marc Wetzel mwse at gmx.de
Wed Dec 11 10:16:05 CET 2002


You made a mistake in your quoting...
It should read
NutPrintString_P(sostream, PSTR("<HTML>"
                                  "<HEAD>"
                                  "<TITLE>Show
 Query</TITLE>"
                                  "</HEAD>"
                                  "<BODY
 bgcolor=\"#00eeee\">"));

The compiler thought your string is finished right before the hash.

/Marc

> -----Original Message-----
> From: en-nut-discussion-admin at egnite.de 
> [mailto:en-nut-discussion-admin at egnite.de] On Behalf Of Sangman Cho
> Sent: Tuesday, December 10, 2002 9:25 PM
> To: en-nut-discussion at egnite.de
> Subject: [En-Nut-Discussion] in httpd.c
> 
> 
> Mr Kipp
> 
> I have a question.
> 
> I would like to have a color background in cgi of
> httpd.c and add some codes as below
> 
> 
> NutPrintString_P(sostream, PSTR("<HTML>"
>                                  "<HEAD>"
>                                  "<TITLE>Show
> Query</TITLE>"
>                                  "</HEAD>"
>                                  "<BODY
> bgcolor="#00eeee">"));
> 
> but, I had a error message in avr-gcc as below.
>  syntax error at '#' token.
> 
> What is a problem?
> 
> Kind regard
> Mr Cho.
> 
> 
> 
> _____________________________________________________________________
> 디지탈 카메라와 찰떡 궁합- 야후! 사진
> http://kr.photos.yahoo.com/
> 친구들과 함께 바꿔보세요. - 야후! 메신저
> http://kr.messenger.yahoo.com/ 
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de 
> http://www.egnite.de/mailman/listinfo/en-nut-> discussion
> 




More information about the En-Nut-Discussion mailing list