course:mpcs:51044
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
course:mpcs:51044 [2016/03/23 12:13] – created kauffman | course:mpcs:51044 [2021/09/21 17:32] (current) – removed ctopper | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== MPCS 51044 ====== | ||
- | =====Current Homework====== | ||
- | *Hard Deadline every week at 5:30 pm (just before start of class) | ||
- | *Early Feedback and Review: Turn in by Friday 11 pm to get feedback by Sunday night. | ||
- | *Email source code, header files you had in your local directory, input data, Makefiles, and READMEs only. In particular, no Visual Studio project directories or other IDE-specific files. | ||
- | |||
- | =====Teaching Assistant Office Hours===== | ||
- | |||
- | *Every Monday at 4:30 pm in Young 111 (or 106), unless otherwise announced. | ||
- | |||
- | =====Compiling on Your Laptop - Quick Links====== | ||
- | You can easily install a good C++ compiler on your own laptop or desktop machine. | ||
- | * On Debian or Ubuntu, you can try `sudo apt-get install g++` (at the command line) and if you get g++ version 4.9 or higher, you should be all set. | ||
- | * On a Mac, it may be best to use XCode and it should install a very nice version of clang once it's fully updated. | ||
- | * On Windows, we recommend [[http:// | ||
- | * On Windows again, if you want better standards conormance, MinGW provides an entirely native GCC compiler for Windows. [[http:// | ||
- | * [[http:// | ||
- | * [[http:// | ||
- | |||
- | =====CS Cluster Compiler Status and Compiling with g++ and Clang====== | ||
- | By logging into the CS cluster you can quickly have access to a compiler modern enough for most or all of the material in this class. The cluster currently has g++ 4.9.2 as well as an alternate Clang compiler (as of January 2016). | ||
- | * 2016 update - GCC: | ||
- | To compile your program: | ||
- | $ g++ -std=c++14 -Wall -Werror myfile.cpp -pthread | ||
- | | ||
- | To compile **and run** your program with one command, you can use the following: | ||
- | $ g++ -std=c++14 -Wall -Werror myFile.cpp -pthread && ./a.out | ||
- | * 2016 update - clang: Clang 3.6 is installed on the CS cluster as a secondary compiler and it includes std::thread support: | ||
- | To compile your program: | ||
- | $ clang++-3.6 -std=c++14 -Wall -Werror myfile.cpp -pthread | ||
- | | ||
- | To compile **and run** your program with one command, you can use the following: | ||
- | $ clang++-3.6 -std=c++14 -Wall -Werror myFile.cpp -pthread && ./a.out | ||
- | |||
- | * Note that parameters to g++ and clang are identical. | ||
- | |||
- | =====Homework Submission===== | ||
- | Use subversion to submit your homework and see [[https:// | ||
- | |||
- | =====Piazza and CHALK===== | ||
- | We use Piazza and Chalk in this class. | ||
- | |||
- | Log in with your CNET ID at chalk.uchicago.edu: | ||
- | |||
- | [[http:// | ||
- | |||
- | =====Contact us if you have Questions===== | ||
- | (Email addresses available in class.) | ||
- | |||
- | =====Questions and Answers===== | ||
- | |||
- | ==Q. For early feedback on homework, when do we have to submit?== | ||
- | ''' | ||
- | By 11:30 pm Friday night. | ||
- | |||
- | ==Q. When is the regular homework deadline?== | ||
- | ''' | ||
- | Every week, before the start of class - homework cannot be accepted after the start of class, particularly since discussion of homework is the first thing on the class agenda! | ||
- | |||
- | ==Q. What development environment do you recommend? | ||
- | ''' | ||
- | compiler. If you or your employer has a preferred C++ development environment, | ||
- | to use that. | ||
- | |||
- | If you want specific suggestions, | ||
- | meet all or at least most course needs. Some nice features of this environment include: | ||
- | |||
- | *g++, vim, and emacs are already installed. | ||
- | *We as graders can better support you in your homework troubleshooting. | ||
- | *Eclipse with the CDT, and Code:: | ||
- | |||
- | ==Homework conventions== | ||
- | Remember we are human. Sloppy uncommented code may not get the credit it | ||
- | deserves. We have been known not to give any credit on a problem simply because | ||
- | we didn't realize a solution was submitted. Calling out (by directory | ||
- | or filename) where your solutions are, including output where appropriate, | ||
- | will help assure you get the grades you deserve. | ||
- | is to place a readme.txt file in your directory to tell us all the problems you | ||
- | completed or if you got part of a problem but not all, to explain what you | ||
- | have. The readme is also a good place to put answers to verbal portions of | ||
- | questions as well as to show the output you got from your program. |
/var/lib/dokuwiki/data/attic/course/mpcs/51044.1458753239.txt.gz · Last modified: 2016/03/23 12:13 by kauffman