c language

Digital Differential Analyzer (DDA) Method of Line Drawing(Implementation using C language)

The basis of the DDA (Digital Differential Analyzer) method is to take unit steps along one of the coordinate assume x co-ordinate  and compute the corresponding values along the other coordinate lets say Y co-ordinate. The unit steps Lets say m are always along the coordinate of greatest change, e.g. if we have dx = 11 and dy = 6, then we would take unit steps along x and compute the steps m along y.

 

Data Structure Using C

data structures are classes that are used to organize data and provide various operations upon their data.

Most common and well-known data structure is the array, which contains a contiguous collection of data items that can be accessed by an ordinal index.

 

iteration in programming repeating code lines c language loops while loop,for loop,do while loop

LoopsMost real programs contain some construct that loops within the program, performing repetitive actions on a stream of data or a region of memory. There are several ways to loop in C. Two of the most common are the while loop:

While loop
The while loop repeats a statement until the test at the top proves false.

As an example, here is a function to return the length of a string. Remember that the string is represented as an array of characters terminated by a null character '\0'.

 

learning C basic concepts and code structure getting started guide and tutorial

"C is a general-purpose, cross-platform, block structured, procedural, imperative computer programming language"

 

Syndicate content