Our only problem now is that one of the brackets is underlined red.
And your closing bracket for main() is where? If you formatted your code with usual indents it is much easier to read and to see the matching opening and closing brackets.

You also have some other issues. Some functions have num as the argument but you are using number in the body. Also you have
Code:
getNumber(number, inFile);
but again you have not provided a function definition for a function that has these type of arguments - just a forward declaration.