Code Samples and Tutorials

Shell Operations

POSIX Threads

If you need threads and you are programming in any UNIX system with C or C++, the following tutorials are useful.

Tutorials

Sample Code

Sockets

Tutorials

The following are some online tutorials for C (and C++) sockets. They are ordered by detail of information given. The first two of them should be enough for most sockets applications. The others offer more in-depth information and may be helpful to discover issues when debugging your programs.

Other Resources and Sample Code

Subversion - CVS - Other versioning systems

For all of you that want to use a versioning system like CVS or subversion: (a) Congratulations! You are highly recommended to! (b) It will be easier to use subversion, as a Subversion server is already setup in the CS department. To access it, you need to go to the CS homepage, login (click the "Student & Staff Login" button on the upper right) and select the "SVN Manager". From there, you can create a new repository for your code. What is useful, is that you can add permissions to other people (like, your partners), so that all of you can have a single repository for your code.

Back to Home