Include "stdio.h" and "conio.h" by adding the following lines to "stdafx.h":
#include <stdio.h>
#include <conio.h>
If you already included the file and still getting the problem, add those lines in your "binarycrack.cpp" under the line '#include "stdafx.h"'.