fix g++ compile warning:trigraph ??%c warning;no new line warning;double int convert warning