Archive | EN C – C

Programming C: Posts 11 – Pointers in c

Using pointers in c allows us to manage memory, avoid wasting excess or deficiency. Today's article I will guide you how to use pointers how.

When to use a brace, when using quotation

In the process of learning to program, there is a lot you can not distinguish and do not know when to use braces, when to use parentheses. This article we will clarify a bit more about them

Programming C: Posts 13 – Type of structure – struct

For arrays, can save a lot of information has the same data type. But with this type of structure we can store information more different data types.

Programming C: Posts 12 – The relationship between pointers and arrays, string

Arrays and pointers positive relationship signed intimately. This article will help you understand somewhat the relationship.

Programming C: Posts 9 – Arrays in C

A set of array elements with the same type of data. Array of arrays 1 evening, 2 evening,... And each type of data, there 1 corresponding array (integer array, real array, character array (Chain)),... I mainly consider the array 1 dimensional array 2 evening

Programming C: Posts 10 – String in c

In all Import Export in c we've become familiar with how to declare, entry and string in C simply. In this article we will talk more about the examples, homework chain .

Programming C: Posts 14 – Import and export files in C / C ++

During the programming process, we often have to read and write data to a file. This article will guide you how to make simple with C and C ++. Noted: In the example below, the input and output files in the same folder with the source files. Example: Cho file input.txt, The first line consists of 1 n is the number of friends, n the next line per line […]

Permutation function in C

1. Ideology In fact permutation, we must build the program, permutation functions to swap the value of the element, eg sequencer program is a typical. To permutations 2 number, One can imagine like us 2 the cup. A glass of lemonade container, B cup pesticide containers. How do we move on water […]

Programming C: Posts 8 – Functions in C

Ham is a piece of implementing a block command job is repeated several times while running the program, or use a separate block specific work to support complex programs.

Programming C: Posts 5 – if else, switch case in C

In life there are many things we have to choose, such as choosing between love and love people we, choose to listen to the heart or mind,… If today is a school holiday, would stay or go play, if people love it or go buy ice cream ZIP sit together to eat outside the school gates, etc. and cloudy cloudy. And programming is going from life, service life, it must have such things. This lesson we will learn about the command to serve such options, This command is called the branch instruction.