[Techtalk] C Programming Question

Sujita Purushothaman sujita at mimos.my
Wed May 29 12:18:25 EST 2002


Hi,
    I'm having a problem with pointer-to-array in C.
I have to use the structure char  *somename[ ] . I also
need to store/assign data to the strings halfway thro the
program. ( I know I can initialise it as :
char  *somename[ ] = {"data1","data2"}; etc.
At some point in the program I need to change "data1"
to "somethingelse1" . How do I do that?
Thanks in advance.
Rgds,
Sujita




More information about the Techtalk mailing list