| Instructor: | Dr. O'Kane | ||||||||||||||||||||||||||||||||||
| Office: | 318 ITT (East Gym) | ||||||||||||||||||||||||||||||||||
| e-mail: | okane@cs.uni.edu | ||||||||||||||||||||||||||||||||||
| www | http://www.cs.uni.edu/~okane | ||||||||||||||||||||||||||||||||||
| Tel | 273-7322 | ||||||||||||||||||||||||||||||||||
| Office Hours: | Click Here | ||||||||||||||||||||||||||||||||||
| Emailing assignments |
To email an assignment:
1. the source code must have in a comment block
at the beginning your name, class time,
your email address where replies are to be sent,
assignment number, assignment description:
/* Joe Smith, MWF 10, smith@gmail.com
assignment 1: reading in and manipulating data */
2. use the script program to make a transcript of
your screen session. In cygwin, you will need
to install the script program - previously emailed.
On neamh, script is already there.
script
cat myprog.c
gcc myprog.c
./a.out (neamh only)
./a (cygwin only)
exit (or ^d)
You now should have a file named typescript. Look it over
and if its ready to send, send. Otherwise, repeat the above.
3. From neamh:
mail -s "Joe Smith Asgn 1" -c smith@gmail.com uni036061@xxxxxx < typescript
The qouted part should give your name and a description. The smith@gmail.com
is your email address, the uni036061@xxxxxxx is my email address and
typescript is what you are sending. Note the "<" sign.
In the above, substitue earthlink.net for xxxxxxx
4. From Cygwin, you need to use your system's email program. Send the file
in c:\cygwin\home\youruserid\typescript as an attachment to
uni036061@aol.com and place in the subject line, who you are and
the assignment number.
It is important that you include your actual name as email id's are not
enough. I will send a confirmation and a grade.
| ||||||||||||||||||||||||||||||||||
| script for Cygwin |
Here is a compressed tar-ball of the script program for
Cygwin. To use:
1. save it to your cygwin home directory.
-> finding your home directory:
enter cygwin
type pwd
you will see something like /home/user
where the "user" part may be different.
your home directory, from MS Windows point of view
is then: c:\cygwin\home\user
save it to this directory.
2. enter cygwin and decompress/un-tar it:
it should be in your home directory (do an ls and see
if you have the file script.tgz.
type:
tar xvzf script.tgz
this creates a subdirectory named script.
3. enter the subdirectory script:
cd script
4. compile it:
gcc -o script Script.c
(you will get two info messages - ignore these)
5. copy it to the executables directory:
cp script /usr/bin
it should now work by typing script (type ^d or exit to end)
| ||||||||||||||||||||||||||||||||||
| Book: |
Remember to check
prices online where both new and used copies may
be available at discount. Also, be certain to check the title
exactly. There are other texts with similar
titles by the same authors.
C - How To Program - Fourth Edition, Deitel & Deitel, ISBN 0-13-142644-3, Pearson Prentice Hall. | ||||||||||||||||||||||||||||||||||
| Requirements: |
| ||||||||||||||||||||||||||||||||||
| Makeup Tests | Makeup tests will be given only in cases of demonstrated need for causes such as serious illness, family emergency or University sanctioned schedule conflict. In all cases, written documentation will be required. | ||||||||||||||||||||||||||||||||||
| Test dates: |
| Final Grades
|
Final grades will not be available via email. If you want your
grade mailed to you, bring a stamped, self-addressed envelope to the
final.
| Originality
| If your work duplicates in whole or in part the work of someone
else, both works will receive a grade of 0.
| Topics:
|
| Lab Project
|
Part of your grade will be based on a project. If there
is something you are interested in that you would
like to do, and this may be related to another
class, write a short description and send it
to me.
| By Feb 15, I need a one sheet statement of what you want to do for a project (the "lab" credit - this is a 3 hour lecture and 1 hour lab credit course). The project should be something that applies C/C++ to some area. If you have nothing in mind, see me and I have some topics. Otherwise, I will assign one. Due: Last day of class.
Notes
| const usage
| Homework Spring 2007
|
All assignments must have
your name and the assignment number in a comment header block.
All pages must be stapled.
Turn in a copy of the source code, the output and (if any)
the input.
Non-functional programs will not receive a grade higher
than 70%.
Programs with no output or comment header block will be returned ungraded.
| You may do your assignments on any machine with a C++ compiler. This includes any machine you may have, the lab machines or sidhe.cs.uni.edu. If you do your work on sidhe.cs.uni.edu, you need to print the results on another machine as sidhe.cs.uni.edu has no printer. (see below).
|
The following notice is required by the University:
"The Americans with Disabilities Act of 1990 (ADA) provides protection from illegal discrimination for qualified individuals with disabilities. Students requesting instructional accommodations due to disabilities must arrange for such accommodation through the Office of Disability Services. The ODS is located at: 213 Student Services Center, and the phone number is: 273-2676."Kevin C. O'Kane / Computer Science Department / UNI / okane@cs.uni.eduBecause the Office of Disability Services has procedures in place to determine the validity of disability claims as well as the need for instructional accommodations, faculty are reminded that they are to direct all students with accommodation requests to the above listed office.
UNDER NO CIRCUMSTANCE SHOULD A FACULTY MEMBER MAKE AN ACCOMMODATION INDEPENDENT OF THE OFFICE OF DISABILITY SERVICES.
Questions may be directed to: Jane Slykhuis, Disability Services Coordinator, at 273-2676 or to this office at 273-2846.
Access count: