I want to directly assign string to a array of charptr, like the
following,
CharPtr line[1000];
UInt i;
for (i=0;i<1000;i++){
line[i]=MemPtrNew(14);
StrCopy(Q9Word[i],"today is fine");
}
when the i is up to 600, the emulator say "bus error", what's the problem?
or any other way to directly assgin a string to a CharPtr ?
Thanks a lot!!!
Eric
- Re: bus error Eric Siu
- Re: bus error Aaron Ardiri
- Re: bus error J Robert Ray
- Re: bus error Eric Siu
- Re: bus error Aaron Ardiri
- Re: bus error Christian Vandendorpe
- Re: bus error frelek . m
- Re: bus error Eric Siu
- Re: bus error Aaron Ardiri
- Re: bus error J Robert Ray
- Re: bus error Eric Siu
- Re: bus error Mike Davis
