c++ - Can't get visual studio to function well -


first, problem started when installed python. turned c++ environment in visual studio 2015 , c++ projects had compile errors. tried:

#include <iostream> using namespace std; void main(){ cout<<"hi"; } 

it gives lot of errors, tried resetting vs2015 settings default, uninstalling , re-installing, nothing seems work. now, uninstalled related vs2015 "totaluninstaller" vs2015. installed visual studio 2017 professional, when try create project [at window choose project type(win32 console app c++)] , hit ok->finish .. re-opens same window. don't know causes error. created blank project , added c++ file manually shows following error window: error when creating c++ file

the file mentioned in previous image file: activitylogs

i noticed lines in file says error, such as, "error in template", "legacysitepackage failed package" , "setsite failed package".

please me solve problem, don't know :(

~windows 10 pro version 10.0.14393 build 14393 64-bit


Comments