COSC 350: Data Structures
Feb. 4, 2009

Shay

Announcements: Shay Ellison will be working in the Computer lab and will be available to assist you Sunday through Thursday from 8:00 PM to 10:00 PM starting next Tuesay. (He should also be around tonight (2/4/09). He is not there to do your work for you but rather to assist you.

Today we looked at C++ paging rapidly through the Side-by-Side document. Please remember that this was written from folks using C++ and learning Python, not the other way round. Your goal should not be to learn everything in the document. Rather, you should get an idea about what is in it so you can find things as needed.

Also, you should keep in mind that it is much easier to translate from C++ to Python if you have a clear understanding of what a function is supposed to do. (Of course, if you have really clear idea, you won't even need the C++. You can just write the Python code directly.)

For homework, translate this C++ code into Python. Try running your code.


This page was created by Joe Sloan.
It was last modified around: 3 February 2009
Send mail to: sloanjd@wofford.edu