Some students may prefer to work in their own environments e.g., their laptop or desktop computers at home or in their dorms, which might be Macs, PCs, or Linux systems. This is acceptable, except that there may be subtle differences in the C language or compiler between these environments and the version implemented on the CCC system. All grading will be done on the CCC systems. Therefore, if you develop a program on another computer, you must verify that it still compiles and works correctly in the CCC environment.
As an alternative, you could use the text editor kwrite. This has a familiar "point and click" interface that is similar to most Windows and Macintosh applications, including the usual File, Edit, View, etc., menus. To invoke kwrite from a command shell on a CCC system, simply execute the following command in a command shell:
kwrite file_name &You need to have an "X-Windows" server (such as X-win) running on your computer, so that the CCC system can display the editor window on your desktop. Most computers in the WPI public computer labs have X-win enabled by default. WPI has a campus-wide license for X-win; here are the Helpdesk instructions for installing X-Win on your own computer.
To configure kwrite for editing C programs, start kwrite, pull down the Settings menu and select Configure Editor... In the configuration window that appears, select the Editing icon in the left panel. In the Indentation tab,set the Default indentation mode to C Style (one of the pull-down options). This causes the editor to automatically indent your programs to conform to the usual practice in C, making your program more readable, helping you see matching brackets, parentheses, quotes, etc., and generally making life easier for you as a programmer. (EMACS has similar capabilities.)
Turnin automatically time-stamps your submissions and identifies those that are late. The graders can download your files to a separate directory, compile your program, and test it against their own data or test cases. Finally, they can upload comments and grades that only you can access.