void countWords(char home_row[], char left_chars[], char right_chars[], char currentLine[], int* homeWords, int* handWords, int* totalWords)
{
    // ASCII A-Z : 65-90
    //       a-z : 97-122
    int i = 0;
    while(currentLine[i] != '\0' || currentLine[i] != '\n')
    {
        if(currentLine[i] == ' ' && (currentLine[i+1] != ' ' || currentLine[i+1] != '\n' || currentLine[i+1] != '\0'))
        {
            totalWords++;
            int j = i+1;
            int runTime = 0;
            int homeRowChar = 0;
            int leftWordChar = 0;
            int rightWordChar = 0;
            while(currentLine[j] != ' ' || currentLine[j] != '\n' || currentLine[j] != '\0')
            {
When it gets to the while loop it shows: Thread 1, EXC_BAD_ACCESS but before it everything is fine. What's going on? How do I fix it?
 
    