Structured C programming
Home Up Back Refresh

Home
Up

Welcome to the "Structured C programming" TA page! The course is specially offered for Electrical Engineering freshmen. To jump to the official course page, click here.

LATEST NEWS:

Sample problems for the final exam (They are created by me; therefore, they are not supposed to be perfect!)

Sorry, but I didn't have enough time to prepare summaries for the 8th and 9th sessions :)

[Tue Dec 3, 2002]: Summery of the 7th session as a PDF, PS or PNG file.

[Tue Nov 26, 2002]: The first quiz was held in the TA session. You can see the quiz problems as a PDF, PS, or PNG [Page 1, Page 2] file. Solutions are also available as a PDF or PS file or as PNG images [Page 1, Page 2, Page 3, Page 4, Page 5, Page 6]. Source code is also available as a C++ file. More discussion on solutions will be done in the TA session.

[Tue Nov 26, 2002]: Summery of the sixth session as a PDF, PS or PNG file.

[Tue Nov 19, 2002]: Summery of the fifth session as a PDF, PS or PNG [Page 1, Page2] file.

[Tue Nov 12, 2002]: The fourth session did not held because most students preferred not to attend the class (after a brief discussion with me) and there is no obligation at all! By the way, there will be a quiz (the first quiz) on Tuesday November 26th (سه شنبه 5 آذر 1381). (Bad news: That day is no longer a holiday guys!) In addition, you are allowed to use ANY kind of resource during the quiz, including books, cheat sheets, prepared source codes, your friends, laptop computers, etc!

[Tue Nov 5, 2002]: A summary for the third session of the TA class, as a PDF file, PS file, or PNG images [Page 1, Page 2]. the discussion is based on pointers, which is a very important concept for advanced programming.

[Tue Oct 29, 2002]: A summary for the second session of the TA class is available here. Download it as a PDF file, PS file, or PNG (Portable Network Graphics) image.

[Tue Oct 15, 2002]: A summary of the discussions made at TA class is available here. Download it as a PDF file, PS file, or PNG (Portable Network Graphics) images [Page 1, Page2, Page 3]. It is important for those who were absent to read these notes.

[Mon Oct 14, 2002]: My TA class is currently being held on Tuesdays, from 12:00 to 13:30 at "Khodro" building, room No. 7, Sharif University of Technology.

FAQ (Frequently Asked Questions):

bullet

Q. How shall I submit my programming exercises?

bullet

A. First,  do the exercises in your desired IDE (Integrated Developing Environment), such as Borland C++, Visual C++, Borland C++ Builder, or even without using an IDE (e.g. using Notepad), and prepare .C (or any additional, such as header (.H)) files. Next, compile your programs using an appropriate ANSI-supporting C (or C++) compiler, such as the one provided in your IDE, or an IDE-less compiler (such as GNU C++ compiler (gcc) which is a highly recommended standard compiler). Test and debug your exercises and ensure that they work properly as expected and they produce the desired output for any given input accurately without any (even one character) extra/omitted piece of output. It is necessary for your exercises to be (at least) compiled without any errors, otherwise you get zero for your exercises. After preparing source files (.C, .H, etc) integrate them as a single archive file (using a well-known archiving utility such as PKZip/WinZip, Tar, gZip, etc). The name (excluding extension) of the archive file is better to be your student number (e.g. 81118001.zip if your student number is 81118001). After that, go to the upload section of the course page (addressed http://ce.sharif.edu/~ce152/new/upload.php) and upload the archive file. You may need to wait a moment before the uploading process is completed. It is all done now. Simple? Simple!

bullet

Q. Darn! How can I read PDF or PS files?

bullet

A. You will need a special utility for reading those files. If your operation system is Linux, you shouldn't have any problem since there are lots of viewers coming with different distributions. But if you are Windows-worker, you should do something before: you should provide a viewer. The best choice for PS files is "GhostView". You can find it it many collection CD-ROMS, or here. The best choice for PDF files is "Adobe Acrobat". It comes into two distributions: Acrobat Reader and full version. (The full version contains a utility called "Adobe Distiller" which is able to convert PS files into PDF files) For reading purposes, Acrobat Reader is enough. Acrobat Reader is a free utility which can be found in many (almost every!) utility-collection CD-ROMS and/or document CD-ROMS. It is also available to download (for many operating systems including Windows and Linux) at Adobe® web site. (Click here)

Last update: Tuesday, December 17, 2002