I'm supposed to find the encoded names that will be generated by the compiler for the file. The problem is that I have no idea how i'm supposed to do that. I'm using Visual Studios 2013. Can someone please tell me how i'm supposed to fine the encoded names
// array5.cpp - friend function
// This program will compile, but it won't link without the set() definition
#include <iostream>
usingnamespace std;
#define SIZE 10
class intArray {
private:
int a[SIZE];
public:
void setVal(int index, int value);
friendvoid print(intArray);
};
void print(intArray x) {
int i;
for (i = 0; i < SIZE; i++)
cout << "a[" << i << "] = " << x.a[i] << endl;
}
int main() {
intArray num;
int i;
for (i = 0; i < SIZE; i++)
num.setVal(i, i);
print(num);
return 0;
}