I'm sure I'll soon feel stupid to ask this question. I'm trying to use printf() to see how far along my code got. But it wasn't printing anything even when I added printf to the first line in main(). And when I used debug50, it went to and passed that line but didn't print anything.
int main(int argc, char *argv[])
{
// This line isn't printing anything.
printf("start main");
// Check for correct number of args
if (argc != 2 && argc != 3)
{
printf("Usage: speller [dictionary] text\n");
return 1;
}
// Here skips the codes we were given for simplicity of the question, but I didn't change anything
}
Please help.