I'M getting a "DateValidation.cpp:10:2: error: ‘numberOfDigits’ was not declared in this scope" error. Here is my call to the function: numberOfDigits = getNrDigits( int date );

The function is declared in the file functions.h and I have #include "functions.h" at the top of my page. Any ideas?

Please ask write your code...
so that we can understand your problem & Solve