Contact: +6017-761 9288
Assessment: 100% Project (No Turnitin requirement for this unit)
You are free to use any editor you like. There is no restriction of the editor.
If you don't like the in-built Eclipse editor. You may use Notepad++ to help you export/import your program.
I have some of the study guide codes (the corrected version). You can get it from me in class.
I have a incomplete c program sample from the textbook. You can get it from me directly.
Eclipse Setup (with GCC)
Use the following link for the complete Eclipse setup process, including the testing of your Eclipse configuration.
https://sites.google.com/site/jetweelim/home/academiccorner/other/eclipse-c-programming
Code::Block Setup with GCC
Some student prefer to use Code::Block due to familiarity. In this case use the following link:
https://sites.google.com/site/jetweelim/home/academiccorner/other/codeblock-setup-for-c-programming
Known Issue
-Eclipse may NOT work on non-English Windows OS machine.
-Clrscr() Undefined Reference to error message
-Mouse hang - with the different architecture. Pls do save often.
Chapter 1
For the C data type and range
http://4.bp.blogspot.com/_uIwyaTjqYYw/TU5Eju6N35I/AAAAAAAABTM/MQjJhneD1zA/s640/10.jpeg
Common C Conversion Specifier
%d decimal
%i integer
%f floating-point
%c character
%s string
Project
While coding: try to do 'literate programming' (Source code which is readable).
Project FAQ
Q: Is it compulsory to use file in the project?
A: Yes, it is compulsory to use file in the project. However, you may either choose to use text file or binary file. Text file is simpler.
Q: Is it compulsory to use struc[ure] in the project?
A: No, you can options to just use variables in place of structure.
Q: How many testing should I do?
A: To get the full mark, you need at least 35 test cases.
Q: Is it compulsory to use binary file format?
A: No. If you want to keep your project simple, you can just use text file for your project.
Marking Template