Diferences between array and pointer initialized strings in C
Did you place that in a function? If it's outside a function, you can't use functions to initialize variables.
I think akb825's got it. stick that in your main function. Compile. Should work.
15.4" MacBook Pro revA
Possibly Related Threads...
|Pascal language (pointer) problem||sealfin||3||6,354||
Nov 27, 2012 04:38 AM
Last Post: sealfin
|another c pointer question||NelsonMandella||3||4,876||
Mar 26, 2010 03:49 AM
Last Post: DoG
Dec 9, 2005 10:59 PM
Last Post: zKing
|Member function pointer||LongJumper||6||6,370||
Oct 31, 2005 05:53 PM
Last Post: LongJumper
|Cocoa Method to C Pointer||KiroNeem||11||8,685||
Sep 12, 2005 10:08 AM
Last Post: Zekaric