Thank you very much :-)

On 12 November 2011 18:45, Till Heuschmann <theuschm...@googlemail.com>wrote:

>        const char *ObjectsTypes[] = {"LINE", "POINT", "CIRCLE"};
>        const char *circle = ObjectsTypes[2];
>
> Am 12.11.2011 10:56, schrieb guruprasad rane:
>
>  Hi All
>>
>> I am very new to C. Need someone to help me with arrays in C.
>>
>> I want to create and array of object types. Say ObjectsTypes where index
>> 0 should have string "LINE", index 1 should have string "PLINE" etc
>>
>> I should be able to us printf("Current Object is %s",ObjectsTypes[1]);
>>
>
>
>

Reply via email to