This week effectively marks the 1/3 waypoint of the semester. Can you believe it?
Fall begins on September 23, at 4:21 A.M. … so be sure to enjoy what remains of summer!
General observations:
rushing begets confusion and stalled progress. Be it rushing due to procrastination, or rushing due to not putting adequate amounts of time into understanding, it will hurt you if you do not spend the appropriate amount of time to learn the new concepts and to become increasingly fluent with them.
I cannot stress this enough: you must take the time to practice this material.
Week 4
Our programming capabilities grow with each passing class, each passing week.
Barring any questions, we'll be proceeding onto to loops this week:
for() - counting (aka “automatic counter”) loops
while() - top driven relational loops
do while() - bottom driven relational loops
arithmetic shortcuts:
++ - increment by 1 (comes in both pre- and post-increment varieties)
– - decrement by 1 (comes in both pre- and post-increment varieties)
+= - increment by provided value
-=, *=, /=, %=
Week 3
We explored:
pointers
negative numbers
if statements
else if
else
compound if statements
relational operators
and how properly organizing them can be beneficial
viewed assembly conversion of our C programs (-S argument to gcc)
binary masks, logic
Week 2
Explored input with scanf()
Expressed values according to different schemes (octal, signed/unsigned decimal, hex, ASCII)
Started looking at pointers, including double pointers
Week 1
Welcome! I've wrapped all the initial activities into one project, cci0, that I'd like you to perform by the given deadline (by 11:59:59pm / 23:59:59).
Get familiar with logging into the pod systems, and once there:
open up a terminal
log that terminal onto Lab46 for class work and attendance
Get familiar with how to log onto Lab46, and once on:
change to your src/ subdirectory
create/edit .c files (such as hello.c), and how to save/exit
compile the C program (.c file(s)) into an executable with gcc
execute the compiled C program (the executable) by specifying a path: ./program_name
haas/fall2015/cprog/projects.1442685280.txt.gz · Last modified: 2015/09/19 17:54 by wedge