CSC209-Practical-Programming
Introduction
Environment Configure
Install Cygwin on Windows
Chapter1-File Structure, Permission, Simple C
File Structure & Inode
Permission
Simple Inout in C
Review & Exercises
Chapter2-Pointers and Array
Static Array
String and Dynamically allocated memory
Pointer Basics
Advanced Pointers
Wild, Dangling, Wild, Null Pointer
Chapter3-Struct and Union
Chapter4-File, Stream, in-out
Redirection
File
File Stream
Chapter5-Binary file, Makefile, Large Program
MakeFile & Testing
Chapter6-Process, Signal, System Call
Virtual Memory Management
Signal
Process
Orphan and Zombie
Pipes
Review & Exercises
Chapter7-Sockets, IPC & Network
Socket
Blocking and Byte Order
Select
code snippets
Some Additional Things for Socket
Chapter8-Shell Programming
Variables
Calculation in Shell
Loop and Branch
Functions
Chapter9-Thread and Process
Review
C Programming
Shell Programming
IPC
Appendix
Command Line Arguments
System Calls
CPU, Process, Thread 类比
STDIN_FILENO, stdin, File Descriptor
Useful Code Segment
[Pipe, Fork] - Read characters from the pipe and echo them to stdout.
[Pipe, Fork] execute "ls | tr e f"
Simple One Page HTML Server
Sample Select()
Linux Commands
NetCat
ifconfig
Powered by
GitBook
Pointer Basics
results matching "
"
No results matching "
"