Home
Comp 212
Comp 335
Research
Anti-Research
Comp 335 - Programming Languages (Fall 2025)
Introductory Information
Syllabus
.
Canvas site
.
Save the Princess
using various programming languages.
In this course, you will write (portions of) a compiler for
a new programming language
.
99 Bottles of Beer on the Wall
.
Current rankings of programming languages
.
Linux notes
Bash scripting cheatsheet
C tutorials
Projects/Homework
pl1.pdf
- first project!
hw1.zip
In-Class Examples
plDay1.cpp
- checking out C++ scope.
Bash examples
bash1.sh
- first little Bash script.
bash2.sh
- more on evaluation and input
bash3.sh
- still more input and use of files
bash4.sh
- command line arguments
bash5.sh
- FOR and IF statements
bash6.sh
- basic one-dimensional arrays
bash7.sh
- display contents of directory in reverse order using FOR loops
bash7a.sh
- same as above in ONE LINE
bash8.sh
- same as previous, but using WHILE loops
bash9.sh
- Bash trickery
bash10.sh
- displaying words from a file such as
data10.txt
In-Class Examples
C examples
carlini.c
- every CS major can write this program!
anderson.c
. To compile, use -ansi switch, or use this
Makefile
. (
make
may have to be installed on csLab machines...)
CprimerV1.c
- all you need to know about C. Well, almost.
Ccmdline.c
- command line arguments
readFile.c
- how to read a file, such as the file
input
containing a list of floating point values.
Last updated
Home
|
Comp 212
|
Comp 335
|
Research
|
Anti-Research