Logo
Unionpedia
Communication
Get it on Google Play
New! Download Unionpedia on your Android™ device!
Download
Faster access than browser!
 

Const (computer programming)

Index Const (computer programming)

In the C, C++, D, and JavaScript programming languages, const is a type qualifier: a keyword applied to a data type that indicates that the data is read only. [1]

68 relations: Ada (programming language), Andrei Alexandrescu, ANSI C, Assignment (computer science), Bjarne Stroustrup, Bruce Eckel, C (programming language), C Sharp (programming language), C standard library, C string handling, C++, C++/CLI, C99, Cache (computing), Compatibility of C and C++, Compile time, Compiler, Composite data type, Computer memory, Constant (computer programming), Constructor (object-oriented programming), Container (abstract data type), Correctness (computer science), D (programming language), Data synchronization, Data type, Declaration (computer programming), Dennis Ritchie, Dereference operator, Design by contract, Evaluation strategy, Field (computer science), Function overloading, Generic programming, Herb Sutter, Immutable object, Java (programming language), Java Community Process, JavaScript, Managed Extensions for C++, Microsoft, Nim (programming language), Object (computer science), Object-oriented programming, Optimizing compiler, Parameter (computer programming), Pointer (computer programming), Pointer aliasing, Programming language, Reference counting, ..., Reserved word, Restrict, Return statement, Rule of thumb, Scott Meyers, Standard Template Library, Static variable, String literal, Template (C++), This (computer programming), Transitive relation, Type conversion, Type qualifier, Type signature, Value (computer science), Variable (computer science), Volatile (computer programming), Walter Bright. Expand index (18 more) »

Ada (programming language)

Ada is a structured, statically typed, imperative, and object-oriented high-level computer programming language, extended from Pascal and other languages.

New!!: Const (computer programming) and Ada (programming language) · See more »

Andrei Alexandrescu

Andrei Alexandrescu (born 1969) is a Romanian-American C++ and D language programmer and author.

New!!: Const (computer programming) and Andrei Alexandrescu · See more »

ANSI C

ANSI C, ISO C and Standard C refer to the successive standards for the C programming language published by the American National Standards Institute (ANSI) and the International Organization for Standardization (ISO).

New!!: Const (computer programming) and ANSI C · See more »

Assignment (computer science)

In computer programming, an assignment statement sets and/or re-sets the value stored in the storage location(s) denoted by a variable name; in other words, it copies a value into the variable.

New!!: Const (computer programming) and Assignment (computer science) · See more »

Bjarne Stroustrup

Bjarne Stroustrup (born 30 December 1950) is a Danish computer scientist, who is most notable for the creation and development of the widely used C++ programming language.

New!!: Const (computer programming) and Bjarne Stroustrup · See more »

Bruce Eckel

Bruce Eckel (born July 8, 1957) is a computer programmer, author and consultant.

New!!: Const (computer programming) and Bruce Eckel · See more »

C (programming language)

C (as in the letter ''c'') is a general-purpose, imperative computer programming language, supporting structured programming, lexical variable scope and recursion, while a static type system prevents many unintended operations.

New!!: Const (computer programming) and C (programming language) · See more »

C Sharp (programming language)

C# (/si: ʃɑːrp/) is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.

New!!: Const (computer programming) and C Sharp (programming language) · See more »

C standard library

The C standard library or libc is the standard library for the C programming language, as specified in the ANSI C standard.

New!!: Const (computer programming) and C standard library · See more »

C string handling

The C programming language has a set of functions implementing operations on strings (character strings and byte strings) in its standard library.

New!!: Const (computer programming) and C string handling · See more »

C++

C++ ("see plus plus") is a general-purpose programming language.

New!!: Const (computer programming) and C++ · See more »

C++/CLI

C++/CLI (C++ modified for Common Language Infrastructure) is a language specification created by Microsoft and intended to supersede Managed Extensions for C++.

New!!: Const (computer programming) and C++/CLI · See more »

C99

C99 (previously known as C9X) is an informal name for ISO/IEC 9899:1999, a past version of the C programming language standard.

New!!: Const (computer programming) and C99 · See more »

Cache (computing)

In computing, a cache, is a hardware or software component that stores data so future requests for that data can be served faster; the data stored in a cache might be the result of an earlier computation, or the duplicate of data stored elsewhere.

New!!: Const (computer programming) and Cache (computing) · See more »

Compatibility of C and C++

The C and C++ programming languages are closely related but have many significant differences.

New!!: Const (computer programming) and Compatibility of C and C++ · See more »

Compile time

In computer science, compile time refers to either the operations performed by a compiler (the "compile-time operations"), programming language requirements that must be met by source code for it to be successfully compiled (the "compile-time requirements"), or properties of the program that can be reasoned about during compilation.

New!!: Const (computer programming) and Compile time · See more »

Compiler

A compiler is computer software that transforms computer code written in one programming language (the source language) into another programming language (the target language).

New!!: Const (computer programming) and Compiler · See more »

Composite data type

In computer science, a composite data type or compound data type is any data type which can be constructed in a program using the programming language's primitive data types and other composite types.

New!!: Const (computer programming) and Composite data type · See more »

Computer memory

In computing, memory refers to the computer hardware integrated circuits that store information for immediate use in a computer; it is synonymous with the term "primary storage".

New!!: Const (computer programming) and Computer memory · See more »

Constant (computer programming)

In computer programming, a constant is a value that cannot be altered by the program during normal execution, i.e., the value is constant.

New!!: Const (computer programming) and Constant (computer programming) · See more »

Constructor (object-oriented programming)

In class-based object-oriented programming, a constructor (abbreviation: ctor) is a special type of subroutine called to create an object.

New!!: Const (computer programming) and Constructor (object-oriented programming) · See more »

Container (abstract data type)

In computer science, a container is a class, a data structure, or an abstract data type (ADT) whose instances are collections of other objects.

New!!: Const (computer programming) and Container (abstract data type) · See more »

Correctness (computer science)

In theoretical computer science, correctness of an algorithm is asserted when it is said that the algorithm is correct with respect to a specification.

New!!: Const (computer programming) and Correctness (computer science) · See more »

D (programming language)

D is an object-oriented, imperative, multi-paradigm system programming language created by Walter Bright of Digital Mars and released in 2001.

New!!: Const (computer programming) and D (programming language) · See more »

Data synchronization

Data synchronization is the process of establishing consistency among data from a source to a target data storage and vice versa and the continuous harmonization of the data over time.

New!!: Const (computer programming) and Data synchronization · See more »

Data type

In computer science and computer programming, a data type or simply type is a classification of data which tells the compiler or interpreter how the programmer intends to use the data.

New!!: Const (computer programming) and Data type · See more »

Declaration (computer programming)

In computer programming, a declaration is a language construct that specifies properties of an identifier: it declares what a word (identifier) "means".

New!!: Const (computer programming) and Declaration (computer programming) · See more »

Dennis Ritchie

Dennis MacAlistair Ritchie (September 9, 1941 – October 12, 2011) was an American computer scientist.

New!!: Const (computer programming) and Dennis Ritchie · See more »

Dereference operator

The dereference operator or indirection operator, denoted by "*" (i.e. an asterisk), is a unary operator (one operator) found in C-like languages that include pointer variables.

New!!: Const (computer programming) and Dereference operator · See more »

Design by contract

Design by contract (DbC), also known as contract programming, programming by contract and design-by-contract programming, is an approach for designing software.

New!!: Const (computer programming) and Design by contract · See more »

Evaluation strategy

Evaluation strategies are used by programming languages to determine when to evaluate the argument(s) of a function call (for function, also read: operation, method, or relation) and what kind of value to pass to the function.

New!!: Const (computer programming) and Evaluation strategy · See more »

Field (computer science)

In computer science, data that has several parts, known as a record, can be divided into fields.

New!!: Const (computer programming) and Field (computer science) · See more »

Function overloading

In some programming languages, function overloading or method overloading is the ability to create multiple methods of the same name with different implementations.

New!!: Const (computer programming) and Function overloading · See more »

Generic programming

Generic programming is a style of computer programming in which algorithms are written in terms of types to-be-specified-later that are then instantiated when needed for specific types provided as parameters.

New!!: Const (computer programming) and Generic programming · See more »

Herb Sutter

Herb Sutter is a prominent C++ expert.

New!!: Const (computer programming) and Herb Sutter · See more »

Immutable object

In object-oriented and functional programming, an immutable object (unchangeable object) is an object whose state cannot be modified after it is created.

New!!: Const (computer programming) and Immutable object · See more »

Java (programming language)

Java is a general-purpose computer-programming language that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible.

New!!: Const (computer programming) and Java (programming language) · See more »

Java Community Process

The Java Community Process (JCP), established in 1998, is a formalized mechanism that allows interested parties to develop standard technical specifications for Java technology.

New!!: Const (computer programming) and Java Community Process · See more »

JavaScript

JavaScript, often abbreviated as JS, is a high-level, interpreted programming language.

New!!: Const (computer programming) and JavaScript · See more »

Managed Extensions for C++

Managed Extensions for C++ or Managed C++ is a now-deprecated set of language extensions for C++, including grammatical and syntactic extensions, keywords and attributes, to bring the C++ syntax and language to the.NET Framework.

New!!: Const (computer programming) and Managed Extensions for C++ · See more »

Microsoft

Microsoft Corporation (abbreviated as MS) is an American multinational technology company with headquarters in Redmond, Washington.

New!!: Const (computer programming) and Microsoft · See more »

Nim (programming language)

Nim (formerly named Nimrod) is an imperative, multi-paradigm, compiled programming language designed and developed by Andreas Rumpf.

New!!: Const (computer programming) and Nim (programming language) · See more »

Object (computer science)

In computer science, an object can be a variable, a data structure, a function, or a method, and as such, is a value in memory referenced by an identifier.

New!!: Const (computer programming) and Object (computer science) · See more »

Object-oriented programming

Object-oriented programming (OOP) is a programming paradigm based on the concept of "objects", which may contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods. A feature of objects is that an object's procedures can access and often modify the data fields of the object with which they are associated (objects have a notion of "this" or "self").

New!!: Const (computer programming) and Object-oriented programming · See more »

Optimizing compiler

In computing, an optimizing compiler is a compiler that tries to minimize or maximize some attributes of an executable computer program.

New!!: Const (computer programming) and Optimizing compiler · See more »

Parameter (computer programming)

In computer programming, a parameter (often called formal parameter or formal argument) is a special kind of variable, used in a subroutine to refer to one of the pieces of data provided as input to the subroutine.

New!!: Const (computer programming) and Parameter (computer programming) · See more »

Pointer (computer programming)

In computer science, a pointer is a programming language object that stores the memory address of another value located in computer memory.

New!!: Const (computer programming) and Pointer (computer programming) · See more »

Pointer aliasing

In computer programming, aliasing refers to the situation where the same memory location can be accessed using different names.

New!!: Const (computer programming) and Pointer aliasing · See more »

Programming language

A programming language is a formal language that specifies a set of instructions that can be used to produce various kinds of output.

New!!: Const (computer programming) and Programming language · See more »

Reference counting

In computer science, reference counting is a technique of storing the number of references, pointers, or handles to a resource such as an object, block of memory, disk space or other resource.

New!!: Const (computer programming) and Reference counting · See more »

Reserved word

In a computer language, a reserved word (also known as a reserved identifier) is a word that cannot be used as an identifier, such as the name of a variable, function, or label – it is "reserved from use".

New!!: Const (computer programming) and Reserved word · See more »

Restrict

In the C programming language, as of the C99 standard, restrict is a keyword that can be used in pointer declarations.

New!!: Const (computer programming) and Restrict · See more »

Return statement

In computer programming, a return statement causes execution to leave the current subroutine and resume at the point in the code immediately after where the subroutine was called, known as its return address.

New!!: Const (computer programming) and Return statement · See more »

Rule of thumb

The English phrase rule of thumb refers to a principle with broad application that is not intended to be strictly accurate or reliable for every situation.

New!!: Const (computer programming) and Rule of thumb · See more »

Scott Meyers

Scott Douglas Meyers (born April 9, 1959) is an American author and software consultant, specializing in the C++ computer programming language.

New!!: Const (computer programming) and Scott Meyers · See more »

Standard Template Library

The Standard Template Library (STL) is a software library for the C++ programming language that influenced many parts of the C++ Standard Library.

New!!: Const (computer programming) and Standard Template Library · See more »

Static variable

In computer programming, a static variable is a variable that has been allocated "statically", meaning that its lifetime (or "extent") is the entire run of the program.

New!!: Const (computer programming) and Static variable · See more »

String literal

A string literal or anonymous string is a type of literal in programming for the representation of a string value within the source code of a computer program.

New!!: Const (computer programming) and String literal · See more »

Template (C++)

Templates are a feature of the C++ programming language that allows functions and classes to operate with generic types.

New!!: Const (computer programming) and Template (C++) · See more »

This (computer programming)

this, self, and Me are keywords used in some computer programming languages to refer to the object, class, or other entity of which the currently running code is a part.

New!!: Const (computer programming) and This (computer programming) · See more »

Transitive relation

In mathematics, a binary relation over a set is transitive if whenever an element is related to an element and is related to an element then is also related to.

New!!: Const (computer programming) and Transitive relation · See more »

Type conversion

In computer science, type conversion, type casting, and type coercion are different ways of changing an entity of one data type into another.

New!!: Const (computer programming) and Type conversion · See more »

Type qualifier

In the C, C++, and D programming languages, a type qualifier is a keyword that is applied to a type, resulting in a qualified type. For example, const int is a qualified type representing a constant integer, while int is the corresponding unqualified type, simply an integer.

New!!: Const (computer programming) and Type qualifier · See more »

Type signature

In computer science, a type signature or type annotation defines the inputs and outputs for a function, subroutine or method.

New!!: Const (computer programming) and Type signature · See more »

Value (computer science)

In computer science, a value is the representation of some entity that can be manipulated by a program.

New!!: Const (computer programming) and Value (computer science) · See more »

Variable (computer science)

In computer programming, a variable or scalar is a storage location (identified by a memory address) paired with an associated symbolic name (an identifier), which contains some known or unknown quantity of information referred to as a value.

New!!: Const (computer programming) and Variable (computer science) · See more »

Volatile (computer programming)

In computer programming, particularly in the C, C++, C#, and Java programming languages, the volatile keyword indicates that a value may change between different accesses, even if it does not appear to be modified.

New!!: Const (computer programming) and Volatile (computer programming) · See more »

Walter Bright

Walter Bright is an American computer programmer and the creator of the D programming language.

New!!: Const (computer programming) and Walter Bright · See more »

Redirects here:

Const, Const correctness, Const-correctness.

References

[1] https://en.wikipedia.org/wiki/Const_(computer_programming)

OutgoingIncoming
Hey! We are on Facebook now! »