Has the following problems, can not find the reference function, I wonder if the compiler's problems
Executing task: C: \ mingw64 \ bin \ g + + exe - g - STD=C + + 11 C: \ Users \ surface \ Desktop \ seperate compilation \ fact cc - o fact. Exe & lt;
C: \ Users \ surface \ AppData \ Local \ Temp \ ccTSiHE0 o: function In ` main ':
C:/Users/surface/Desktop/seperate compilation/fact. Cc: 12: undefined reference to ` factorial (int) '
C:/Users/surface/Desktop/seperate compilation/fact. Cc: 13: undefined reference to ` fact (int) '
C:/Users/surface/Desktop/seperate compilation/fact. Cc: 14: undefined reference to ` factorial (int) '
C:/Users/surface/Desktop/seperate compilation/fact. Cc: 15: undefined reference to ` fact (int) '
Collect2. Exe: error: ld returned 1 exit status
Terminal process has been terminated, exit code: 1