[Solved] How to include std::vector, std::complex, std::cout, etc. in Visual Studio C++ [closed]
You probably copy pasted functions but forgot to include appropriate headers (newbie mistake). Just try this: #include <iostream> #include <vector> #include <complex> using namespace std; int main() { cout<<“Hello World”; return 0; } 2 solved How to include std::vector, std::complex, std::cout, etc. in Visual Studio C++ [closed]