Hey guys. I've been working a bit on this piece of code lately and I wanted your opinion. This is part of a software I want to write that will store notes for each assignments of each courses as well as average and other informations. I know this is a service that is commonly offered to students by schools but I just wanted to my version and stuff it a little bit more than what my school offers.
This part of the code (which is the only part written yet by the way) is the part that deals with the classes and assignments. I have implemented only the search feature as well as adding courses and assignments. I wanted your opinion on what could be improved and if there are bugs that I haven't noticed yet. I compiled the code and it runs fine with a little bit of dummy code in main() to test and it seems to work as expected. Suggestions are welcome as well.
There's a bit of code that I don't really like in the TrouveTravaux() function. It checks if the current Course has been added to the list of courses that match the search criteria. I find it odd because I have to do it on each search criteria and it doesn't seem really elegant. Not that any of my code is *that* elegant either :P This is the part that I have colored in blue.
[code removed, see next post]
Sorry because my English is quite poor and all the code and comments are in French =P.
Anyway, all suggestions and comments are welcome.