Need help in error solving

#1

I m 6th sem cse student.
I download traveling sales man prb source code from your websit but shows some errors.plz help me in solving this errors.
Errors are
.glutdisplayfunc :cannot convert parameter 1 from 'void* to’void(__cdec1 *)(void).
.scanf is unsafe
Plz help me

#2

Is this Homework for your class?