Unreal using 2012 Visual Studio instead of 2015

I’m trying to get into coding but whenever i create a c++ file it opens the package up in my Visual Studio 2012 instead of 2015 how do I fix this.

Try creating a project in visual studio 2015, then try to open it by using open with, select visual studio 2015, and make sure you check the checkbox for default application. Also do the same for your .c and .h files.
Then try to create a class again in UE4 and let me know if it worked

Thank you!