CS255: C for Engineers
General Info:
Time and Location: M-F, 1pm-1:50pm
Room 218 in Building 18.
Additional Software:
- We will need a compilier. For MAC users, you will want to use Xcode. I am not an expert on Xcode, so you will have to learn how to use it yourself. If you really need help, stop by my office sometime and maybe I can play around with it. I have the following note about Macs. So, once you install Xcode, you can just use a standard text editor ( like emacs ) and gcc. See the linux link below.
-
For windows users, you will want to use
DevC++ .
To download it, select Source Forge link in the Downloads
section under
Dev-C++ 5.0 beta 9.2 (4.9.9.2) (9.0 MB) with Mingw/GCC 3.4.2
.
To install, just double click on the icon and go with the defaults.
It will install a folder in your start menu. The first time you
run devc++, it will ask you some questions. The first
question is about how you want your icons in devcpp to look. Go
with the default. The next question is setting up a tool
for experienced users. Say no. I will show you how to use this
program in class.
If you are running Windows Vista and you are having some trouble, you may find this useful. - For linux users, you will probably want to use emacs and gcc, a very short tutorial is here .
Assignments and Projects:
Course Objectives:
- Basic Program Design/Logic
- Use of a compiler and and text editor under linux
- Basic C: Variables, expressions, control structures, functions, pointers and classes.
- Computer Science concepts: Program flow, call stacks, recursion, and pointers.
Course Outline:
- 2 days of Programming Basics
- 4 days of Variables and Simple I/O
- 1 week of Expressions
- 2 weeks of Functions
- 1 week of control structures
- 3 days of recursion
- 2 weeks of arrays and pointers
- Rest of the time will be spent on structures a
nd makefiles.