PDA

View Full Version : Help my brother destroyed my visual studio c++


dobz
03-24-2007, 11:20 PM
My idiot younger brother tried to get his version of torque running on my computer and messed around with something. Now everytime i try compile anything a get all these different errors about
spritf or sprintf_s??
anyone now what it could be?

1>c:\program files\microsoft visual studio 8\vc\include\stdio.h(345) : error C2733: second C linkage of overloaded function 'sprintf_s' not allowed
1> c:\program files\microsoft visual studio 8\vc\include\stdio.h(345) : see declaration of 'sprintf_s'
1>c:\program files\microsoft visual studio 8\vc\include\cstdio(37) : error C2039: 'sprintf' : is not a member of '`global namespace''
1>c:\program files\microsoft visual studio 8\vc\include\cstdio(37) : error C2873: 'sprintf' : symbol cannot be used in a using-declaration

Reedbeta
03-24-2007, 11:41 PM
reinstall

Nick
03-25-2007, 01:50 AM
Tools -> Options -> Projects and Solutions -> VC++ Directories -> Include files; move Torque directories to the bottom of the list.

dave_
03-25-2007, 01:50 AM
Or use system restore t the day before he did the install