load the scanner by using template but with error global initializtion failed for the scanner and the charracter A* not shown it shows ex*, what to do to correcction?