ICT374 Lab 2: Introduction to GCC and C ProgrammingLearning Objectives:1.Learn to create simple C programs with a text editor such as vior pico;2.Learn to compile C programs with gcc;3.Learn to use the standard library functions printf, fgets, exitetc.;4.Learn to use standard input (stdin), standard output (stdout) and standard error (stderr).Required Reading:Lecture Notes for Topic 1LINUX: Rute User's Tutorial and Exposition(or just Rutefor short): Chapter 4: Basic Commands.A mini manualfor vi editorAccess to Software:Internal students will use the lab machines ECL2.039 or ECL2.044 (See Lab 1 for instructions on using the lab machines). You should bring a USB flash drive with you to the lab for copying your files from the lab machine.For external students, if you have already installed Linux, then use your own Linux installation. If you have not yet installed your own Linux, you may use our Linux server (ceto.murdoch.edu.au) temporarily until you have installed the Linux on your machine (see Lab 1 for detail). More information on how to install Linux is available from Download Page of this website.Theory ExercisesStallings (5th Edition) : Problems 1.3, 1.7, and 1.12 (pages 39-40) Stallings (6th Edition) : Problems 1.3, 1.7, and 1.12 (pages 38-39) Stallings (7th Edition) : Problems 1.3, 1.7, and 1.12 (pages 37-39)C Programming ExercisesNote, all exercises must be done via the terminal commands, not GUI tools. Do not use any IDE to build your programs. Do not use GUI file managers
You've reached the end of your free preview.
Want to read all 4 pages?
One '14
home directory, current directory, C standard library