I have a problem working on a managed c++ project in VS2022.
For some reason, in one of my files, I am trying to create a vector<vector<int>>
but it gets created as an int
. This does not happen in any other files.
I have included <vector>
and vector<int>
is working as expected in the same file.
What could possibly be causing this issue in one file only? Here are all my includes and usings between this file and its header:
#include <vector>
#include "pch.h"
#include "Histogram.h"
#include <queue>
using namespace std;
1