Still trying to get the heart to print... Why does this not compile with cc65? ------------ int main (void) { POKE(0xD018, 0x15); char foo[] = { 'w', 'o', 'r', 'l', 'd', 0x73, 0x00}; printf ("\nhello %s\n\n", foo); return EXIT_SUCCESS; } ------------ I get these errors when I try to compile it: hello2.c(8): Error: Expression expected Line: char foo[] = { 'w', 'o', 'r', 'l', 'd', 0x73, 0x00}; hello2.c(8): Error: `;' expected Line: char foo[] = { 'w', 'o', 'r', 'l', 'd', 0x73, 0x00}; It compiles fine with gcc. I hate being a noob. :) Thanks, /*Raj*/ ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Thu Sep 23 13:10:16 2004
This archive was generated by hypermail 2.1.8 : 2004-09-23 13:10:24 CEST