Objective-c EXC_BAD_ACCESS (code=2, address=0x42)?

The function is expecting a pointer to a character, you are giving it a literal character. You need to create a pointer to it. Also characterAtIndex doesn't return a character as you would think.

It returns a unicode character which is actually an unsigned short instead of an unsigned char . However, if you change your code to this it will work.

You need to pass something of the type const unichar *, not just char. You could do this instead.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions