# ECE 275 - Fall 2012

Lectures: Tuesday and Thursday 11:00AM-12:15PM
Location: ILC 140

## Instructor

Roman Lysecky, rlysecky@ece.arizona.edu
Office: ECE 356F
Office Hours (in ECE 232): Mon 3-4pm, Wed 2-3pm, Thur 5-7pm,
Office Hours (in ECE 356F): Tues 10-10:45, or by appointment

## Teaching Assistant

Lu Ding, luding@email.arizona.edu
Office/Lab Hours: Mon 9-11am, Tue 3-5pm, Wed 3-5pm, Thur 9:00-11am, or by appointment
Office/Lab Hours Location:ECE 232

## News and Announcements

Nov 26: Quiz 4 is a take home quiz that will be at the beginning of lecture on Thursday, November 29. A hard copy of the qui will be handed our in lecture on Tuesday, and PDF is made available here: quiz4.pdf

Oct 23: Sorting algorithms visualized: http://coderaptors.com/?Sorting_algorithms.

Oct 22: The details and due date for Extra Credit Assignment 1 has been posted.

Oct 12: Practice exam has been posted for Exam 1. Please note that the practice exam does not have any questions on binary search trees, which will be covered on the exam.

Sep 25: Suggested method of read and parsing one line at a time from an input file:

// TODO: define in header file or top of C source file
#define BUFFER_SIZE 1000

// variables defines in function for parsing the input file
char lineBuffer[BUFFER_SIZE];
FILE* inputFile;

// TODO: Need to open the file

// while loop that reads one line of text from the input file at a time
// (or at most BUFFER_SIZE characters)
while( fgets(lineBuffer, BUFFER_SIZE, inputFile) ) {

// using sscanf() to parse the lineBuffer, checks to see how many
// values were converted and stored in the variables.

// TODO: need to define the appropriate variables for
if( sscanf(lineBuffer, "%d:%d %lf", &var1, &var2, &var3) == 3 ) {

// TODO: insert appropriate code here
}
}

Sep 29: Poorly Made CMake Video Demos:

Sep 19: A revised set of lectures notes for singly-linked lists has been posted to the lectures page. Direct link follows:

Sep 19: The list of strings example has been posted to the lectures page. Direct link follows:
C Files: listofstrings.tgz

Sep 17: Change in Office Hours: I have rescheduled by Friday office hours to Wednesday. Same great time 2-3pm. Same great location ECE 232.

Sep 13: The completed removemax program example has been posted to the lectures page. Direct link follows:
C Files: removemax_final.tgz

Sep 07: The almost complete removemax program example has been posted to the lectures page. Direct link follows:
C Files: removemax.tgz

Aug 28: The following is a sample C file for program that displays all commandline arguments.
C Files: commandline_echo.c