I had written some programs in C++ a while ago and they no longer function properly, in addition now any new code I write does not seem to want to work properly either. I tested this by writing the following program:
// while loop theory test
#include <iostream>
using namespace std;
int main()
{
char again = 'y';
while ( again = 'y' || 'Y')
{
cout << "run another loop? <Y/N>:";
cin >> again;
}
cout << "End of program";
return 0;
}
the result was that it would start the loop, but no matter what character the user put in it would just go back into the loop. When I added a nested IF statement with the command to break the loop, it wouldn't loop at all.
I do not know weather this has something to a recent Vista update, or if it was caused by something akin to a virus. As it is right now, I'm about ready to completly start my computer over again.( A option I would like best to avoid.)

