Tutorials and Solved Exercises
By Dr. Ziad Kobti
Want a tutorial about a topic not listed here? Ask!
Tip:
From time to time I will be posting solutions and exercises here. I strongly recommend that you try out these programs and TYPE the code yourself for practice.
If you have any comments or specific problems you like to see solved please drop me an email!
How to compile these programs?
You can copy and paste the code into a text editor of your choice, then save it with the extension of .c (example: hello.c). Then exit the editor back to the shell prompt and type: cc yourprogram.c (example: cc hello.c). Now you should have a file called a.out so type "a.out" then press enter and the program should execute (assuming no errors of course!).