A lot of students would like to include examples of their code on their resumes. This is especially true if this is your first course in programming.
There are issues with posting your code publicly, as you are still responsible for keeping your code from other students who may be seeking to plagiarize your solution. Thus, here are some steps you can take:
While private accounts are preferable, we understand that some of you simply cannot afford a private account; however, if you take appropriate steps to disassociate your account and your source code from this institution and this course, you should be okay. We, however, will not say what is sufficient disassociation; that is up to you to determine what is appropriate.
Please note, projects in courses are useful, but interviewers will be more interested in projects you have crafted yourself. Right now, if you are currently in ECE 150, this is really not an option; however, please consider taking some time in your first co-op term to find problems you are interested in and attempt to solve those problems through implementations in C++ or your language of choice.
Important: Any source code you write is your intellectual property, so you can never be found guilty of distributing intellectual property that is not your own. Most universities have policies whereby anything submitted for grading nominally becomes property of the university. Consequently, if you were to expand a project that you submitted for a course project, if you were to profit from that expanded project, the university may have intellectual property claims against you. This is not true at Waterloo: the products of your work here at Waterloo are yours, and the only claim that the university makes is that the university reserves the right to use your submissions for academic purposes.