g++ compile error .h file
问题 I'm trying to compile a .cpp file using g++ in Linux Ubuntu 10.10 and when i try to compile this code #include <iostream> #include <vector> #include <"writeVector.h" #include <"insertionSort.h"> using namespace std; int main() { int n; int i; vector<int> V; cout << "Enter the amount of numbers you want to evaluate: "; cin >> n; cout << "Enter your numbers to be evaluated: " << endl; while (V.size() < n && cin >> i){ V.push_back(i); } InsertionSort(V); write_vector(V); return 0; } I have both