I've been having great issues with Visual Studio 2015 for my computer science class. I use C++ and we have been working with console windows the whole semester. Recently every time that I have tried to run any program, the console window will appear but no code will run. I assume it must be an issue with Visual Studio since even the most basic code will not run;
#include "stdafx.h"
#include <iomanip>
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World";
return 0;
}
When I try to debug this (using ctrl + F5), this is all I get with every program: Console Window with no code
I uninstalled Visual Studio and then reinstalled it, but the same error keeps occurring. I'm quite new to Visual Studio so I tried to include as much information as I could, but I really don't understand what is happening. I'm not sure if there's something simple that I'm doing wrong or if there's a more complex issue. Does anyone know what I can do to run programs normally again?