I've been trying this in C++:
#include "stdafx.h"
#include <iostream>
#include <string>
#include <vector>
int add(vector<int>& nums) {
}
But the intelliSense is telling me "identifier vector is undefined". I'm trying to create a function that has a vector passed in as an argument. I'm probably doing something really stupid. This is in a separate C++ file from my main program.