Hey I am getting this error message that is not allowing me to run my program. CAN SOMEONE HELP
[Linker error] C:\Users\Alex\AppData\Local\Temp\cck6wqNl.o:COS143Assignment.cpp:(.text+0x65d): undefined reference to `writeOutAll(CellphoneInfo*, int)'
collect2: ld returned 1 exit status
Did you define writeOutAll anywhere?
You are trying to use a function named writeOutAll that takes in a pointer-to-CellphoneInfo and an int.
Sadly, this function either does not exist, or you are not linking to it.
That's a different function, writeOut.
It isn't writeOutAll.
Last edited on