[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]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] 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;...
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...
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...
The variables used in C ++ ShowThe variables used in C ++
The different types of variables
Assignment and declaration of variables
Looping signed integers
Looping unsigned integers
In order for a program to store data it make use on variables and as in any...
Download Gambas ShowGambas is a programming language based on Basic interpreter with object extensions.
Its main features:
- using BASIC syntax,
- available for GNU / LINUX and other Unix systems,
- Gambas projects can be easily translated into any language, ...
Base64 encoding ShowBase64 encoding
The concept of Base64 encoding entails using US-ASCII (non-accented) characters to encode any sort of data in 8-bit form. Email protocols were originally designed to send messages in plain text only. But as email systems vary...
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...
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...