Data types: Difference between revisions

From VideoLAN Wiki
Jump to navigation Jump to search
m See also: C Types
Line 1: Line 1:
{{See also|C Types}}
Below are descriptions for data types commonly used in C-programming relevant to VLC.
Below are descriptions for data types commonly used in C-programming relevant to VLC.



Revision as of 01:31, 25 March 2019

See also: C Types

Below are descriptions for data types commonly used in C-programming relevant to VLC.

Integer
Any whole-number value, e.g. -25 or 655
Boolean
A "toggle switch" value that is either true or false (sometimes seen as 1 or 0)
String
A data type of varying length used to represent words (punctuation is generally permitted), e.g. "foo" or "I'm a sentence."
Float
A contraction of floating-point decimal number such as 1.0000 or -20.73