I15 << operator. and hw 16 questions.

The Partridge Family were neither partridges nor a family. Discuss.
Trumps_Nipple
Posts: 27
Joined: August 2nd, 2016, 12:34 am
Location: Russia, SPb
Contact:

Re: I15 << operator. and hw 16 questions.

Post by Trumps_Nipple » November 3rd, 2017, 7:44 pm

About for each: Just intelesence) Things about by value/reference I have made clear in discord) Anyway your explanation as always makemethinkabout) Thx srsly.
About remove_erase_if(): Just my vision of implementing that function while I was writing it.

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: I15 << operator. and hw 16 questions.

Post by chili » November 4th, 2017, 3:24 am

Looks like you're making good progress nip. This is about the kind of thing I had expected ppl should do. Papa already address my main issue (weird ass for each loop :lol:), and the fact that you could have used remove_if + erase (which was introduced in the tutorial video).
Trumps_Nipple wrote:3d one. Can't even imagine how did you do that without searches... (didn't watch the video):
I think you'll find my solution fairly straightforward for #3 (easier than #2 solution really).

Glad you didn't get tripped up by the fact that numpies is a std::string, it was intended to be a vector (and still works like one for the purposes of this assignment btw.)

Make sure you watch the solution video when you are done bruh ;)
Chili

Post Reply