Skip to content

[C++] Tutorial(4): if-else, switch, loop and flow control

[C++] Tutorial(4): if-else, switch, loop and flow control

Last Updated on 2021-05-06 by Clay

In the programming language, if-else allows us to make different responses according to different situations, loop allows the computer to do a large number of tasks of similar nature to automate operations, and flow control allows us in the loop, you can fast forward to next iteration, or even leave the loop early.

Read More »[C++] Tutorial(4): if-else, switch, loop and flow control

[C] Introduction of Arrays

Last Updated on 2021-04-29 by Clay

Array is a data storage format in which data is stored in continuous memory space; that is the memory locations between each element are adjacent.

In C programming language, we can declare a variable to represents the entire array. For example, the format x[10] means that there are 10 records stored in the x array, and the index are from 0 to 9.

Read More »[C] Introduction of Arrays
Exit mobile version