In general, the term network can refer to any interconnected group or system.
Java Tutorial 3 – The For Statement and Operators
Java isn’t as redundant as perl, but there’s still almost always more than one way to write any given program. The following...
Java Tutorial 2 – Classes and Objects: A First Look
Classes are the single most important feature of Java. Everything in Java is either a class, a part of a class, or describes...
Java Tutorial 1 – Hello World: The Application
At least since the first edition of Kernighan and Ritchie’s The C Programming Language it’s been customary to begin programming...
C tutorial index
C Tutorial 1 – The basics of C
C Tutorial 2 – If statements
C Tutorial 3 – Loops
C Tutorial 4 – Functions
C tutorial 5 – Switch case
C Tutorial 6 – An...
C Tutorial 12 – Accepting command line arguments
Typecasting is a way to make a variable of one type, such as an int, act like another type, such as a char, for one single...
C Tutorial 11 – Typecasting
Typecasting is a way to make a variable of one type, such as an int, act like another type, such as a char, for one single operation. To typecast...
C Tutorial 10 – C File I/O and Binary File I/O
When accessing files through C, the first necessity is to have a way to access the files. For C File I/O you need to use a FILE...
This lesson will discuss C-style strings, which you may have already seen in the array tutorial. In fact, C-style strings are really arrays of chars with a little bit of special...
C Tutorial 8 – Arrays
Arrays are useful critters that often show up when it would be convenient to have one name for a group of variables of the same type that can be accessed...
C tutorial 7 – Structures
When programming, it is often convenient to have a single name with which to refer to a group of a related values. Structures provide a way of storing...
Pointers are an extremely powerful programming tool. They can make some things much easier, help improve your program’s efficiency, and even allow you to handle unlimited...
Switch case statements are a substitute for long if statements that compare a variable to several “integral” values (“integral” values are simply values that can be expressed as...
Now that you should have learned about variables, loops, and conditional statements it is time to learn about functions. You should have an idea of their uses as we have already...
Loops are used to repeat a block of code. Being able to have your program repeatedly execute a block of code is one of the most basic but useful tasks in programming — many...
The ability to control the flow of your program, letting it make decisions on what code to execute, is valuable to the programmer. The if statement allows you to control if a...
Learning by examples
This tutorial is a port of the C++ tutorial but is designed to be a stand-alone introduction to C, even if you’ve never programmed before. Unless you have a particular reason...
Matlab Tutorial 1 – The basic features
Matlab Tutorial 2 – Vectors and matrices
Matlab Tutorial 3 – Built-in functions
Matlab Tutorial 4 – Plotting
Matlab Tutorial 5 – M-files:...
Why use a GUI in MATLAB? The main reason GUIs are used is because it makes things simple for the end-users of the program. If GUIs were not used, people would have to work from the command...
Matlab Tutorial 9 – Numerical Methods
In this tutorial we mention some useful commands that are used in approximating various quantities of interest.
We already saw that MATLAB can find the roots...
Matlab Tutorial 8 – Polynomials in MATLAB
Even though MATLAB is a numerical package, it has capabilities for handling polynomials. In MATLAB, a polynomial is represented by a vector containing its...