Hello,
Respected sir,
I want to get information about computer language and want to know the advantages and disadvantages of computer languages!
so plzzzzz do reply quickly
[C language]Checking whether an integer is a prime number Show[C language]Checking whether an integer is a prime number
Definition of a prime number
Algorithm 1: dividers between 2 and N-1 will be tested
Algorithm 2: Even dividers will not be tested, research is limited to odd dividers
Algorithm 3:...
[C language]Handling 64-bit integers Show[C language]Handling 64-bit integers
Unsigned 64-bit integer
Example:
Signed 64-bit integer
Example:
Basically in C language, an unsigned number over 32 bit can not exceed the value of 4 294 967 295.
It may happen that you are...
[C Language] finding the square root of a number Show[C Language] finding the square root of a number
Intro
Notes
Intro
A simple C program allowing you to find the square root of a number.
#include
#include
int main(void)
{
double x = 4.0, result;...
Generating random numbers with rand() ShowGenerating random numbers with rand()
You may have noticed when using the rand() found in the standard library of C language, you often get unsatisfied by the results, they look the same.
For example, when trying 5 random numbers in...
A dialect for C language ShowA dialect for C language
Cyclone language
Conclusion
You want to do some C programming but the fact that C embedded automatic Garbage Collector will make debugging harder and is not quite effective when making system programming, such...
Compiling C under linux/UNIX ShowCompiling C under linux/UNIX
Introduction
Gcc
Syntax GCC
Introduction
Under linux, the C compiler is gcc. It is set as default under several distributions but not on Debian. You should install aptitude install gcc
Gcc
Gcc is the...
Programming languages ShowProgramming language
A "programming language" is a language designed to describe a set of consecutive actions to be
executed by a computer. A programming language is therefore a practical way for us (humans) to give instructions to a...
Circuit switching and packet switching ShowTransfer methods
A network is built from multiple nodes connected to one another by communication lines. There are multiple methods for transferring data from a sending node to a receiving node:
Circuit switching involves setting up a series of...
Binary encoding ShowIntroduction to binary
In the late 1930s, Claude Shannon showed that by using switches which were closed for "true" and open for "false," it was possible to carry out logical operations by assigning the number 1 to "true" and 0 for "false." This...