Dear Friends:

I m hung up in Mod3 Ch5 Exercise 1. On line 149 (visible on my wiki below), the Xcode compiler throws an error saying that I'm not passing a valid parameter.

http://www.jeffgeiger.com/wiki/index.php/School/CS270Mod3Ch5ProgEx1

As I understand it, remove(elem) takes an element and deletes any matching elements in the list that are equal. I'm passing it an extPersonType, but it won't compile.

Any help you can provide is greatly appreciated.

Dani

What's the exact error? I don't have Xcode handy.

Do you have the == operator overloaded for the extPersonType? Remove needs to have that defined in order for it to work.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.