Should I download full UE4 source code from Github to make new script?

as title.

Should I download full UE4 source code from Github and compile it first at Visual studio to make new c++ script in UE4 editor?

I don’t understand well.

I just get UE4 from official site (this) and can open UE4 editor, but when I try to make new c++ script, error occurs.

If this is related to the issue you are having with the 4.10 preview, I’d say no due to it likely being a bug. Otherwise I’d say that it is better to deal with the problem at the roots rather than try and circumvent the issue. You should report any technical issues you are having on The AnswerHub