Question: I am trying to create code, that takes a file and places the contents into an array A. I am working in pieces and right
I am trying to create code, that takes a file and places the contents into an array A. I am working in pieces and right now, my program is giving me a segmentation fault. Does anyone know why this is happening or how i can fix this?
Thanks
#include
int getInvCount(vector
int main(int argc, char * argv[]) {
int counter = 0; vector
int n = sizeof(A) / sizeof(A[0]); cout << "Output: " << endl;
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
