About: Declaration (computer programming)     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : yago:WikicatProgrammingLanguageConcepts, within Data Space : dbpedia.org associated with source document(s)
QRcode icon
http://dbpedia.org/describe/?url=http%3A%2F%2Fdbpedia.org%2Fresource%2FDeclaration_%28computer_programming%29

In computer programming, a declaration is a language construct specifying identifier properties: it declares a word's (identifier's) meaning. Declarations are most commonly used for functions, variables, constants, and classes, but can also be used for other entities such as enumerations and type definitions. Beyond the name (the identifier itself) and the kind of entity (function, variable, etc.), declarations typically specify the data type (for variables and constants), or the type signature (for functions); types may also include dimensions, such as for arrays. A declaration is used to announce the existence of the entity to the compiler; this is important in those strongly typed languages that require functions, variables, and constants, and their types to be specified with a declarat

AttributesValues
rdf:type
rdfs:label
  • Deklarace (programování) (cs)
  • Deklaration (Programmierung) (de)
  • Deklaro (programlingva) (eo)
  • Declaration (computer programming) (en)
  • Déclaration (informatique) (fr)
  • Deklaracja (informatyka) (pl)
  • Declaração (informática) (pt)
  • Объявление (информатика) (ru)
  • 聲明 (編程) (zh)
rdfs:comment
  • Deklarace je v informatice zápis, kterým se v počítačovém programu zavádí jméno (identifikátor) a zpravidla určuje jeho datový typ a další aspekty pro proměnné, funkce (procedury), konstanty apod. Překladač je tak informován o příslušném objektu. V jazycích se silnou typovou kontrolou, jako je Pascal, C nebo Ada, je nutné všechny objekty deklarovat dříve, než jsou použity v programu. (cs)
  • En multaj programlingvoj, deklaro estas frazo informanta tradukilon pri ekzisto kaj ecoj de programa objekto (variablo, proceduro ktp), indikante: * ĝian nomon; * ĝian datumtipon; * la formalajn parametrojn (en deklaro de proceduro ktp). Multaj programlingvoj (interalie C) postuals, ke la nomoj estu deklaritaj antaŭ ilia uzo (laŭ la teksta ordo de la programo). (eo)
  • En programmation informatique, la déclaration permet d'indiquer au compilateur l'existence d'une (variable, routine, etc.) , en spécifiant: * son identifiant; * son type de données (dans le cas d'un langage de programmation typé); * l'identifiant et le type de données de chaque paramètre (dans le cas d'une routine d'un langage de programmation typé). Avec certains langages de programmation, notamment le langage C/C++, il est nécessaire de déclarer les entités informatiques avant de pouvoir les utiliser. (fr)
  • Deklaracja – konstrukcja programistyczna w określonym języku programowania, służąca związaniu z określonym identyfikatorem jego znaczenia i atrybutów. (pl)
  • В языках программирования объявле́ние (англ. declaration) включает в себя указание идентификатора, типа, а также других аспектов элементов языка, например, переменных и функций. Объявление используется, чтобы уведомить компилятор о существовании элемента; это весьма важно для многих языков (например, таких как Си), требующих объявления переменных перед их использованием. (ru)
  • 在计算机编程中,声明是一种指定标识符属性的语言结构。 声明最常用于子程序、变量、常量和类,但也可用于其他实体,例如枚举。 声明通常還能指定資料類型(对于变量和常量)以及类型签名(对于函数) 。 (zh)
  • In computer programming, a declaration is a language construct specifying identifier properties: it declares a word's (identifier's) meaning. Declarations are most commonly used for functions, variables, constants, and classes, but can also be used for other entities such as enumerations and type definitions. Beyond the name (the identifier itself) and the kind of entity (function, variable, etc.), declarations typically specify the data type (for variables and constants), or the type signature (for functions); types may also include dimensions, such as for arrays. A declaration is used to announce the existence of the entity to the compiler; this is important in those strongly typed languages that require functions, variables, and constants, and their types to be specified with a declarat (en)
  • In der Informatik und Programmierung ist eine Deklaration die Festlegung von Dimension, Bezeichner, Datentyp und weiteren Aspekten einer Variable oder eines Unterprogramms. Durch die Deklaration wird dem Übersetzer (Compiler oder Interpreter) diese Variable bzw. dieses Unterprogramm bekannt gemacht; es ist damit möglich, diese an anderen Stellen im selben Quelltext zu verwenden. (de)
  • Em linguagens de programação, uma declaração especifica o identificador, , e outros aspectos dos elementos de linguagem, tais como variáveis e funções. Ele é usado para anunciar a existência do elemento para o compilador, o que é importante em muitas línguas (como C) que necessitam de variáveis declaradas, antes de usá-las. A declaração é muitas vezes usada para se acessar funções e variáveis definidas em arquivos de origem diferente, ou em um biblioteca. Alguns exemplos de declarações que não são definições, em C: extern char example1;extern int example2;void example3(void); (pt)
dcterms:subject
Wikipage page ID
Wikipage revision ID
Link from a Wikipage to another Wikipage
Link from a Wikipage to an external page
sameAs
dbp:wikiPageUsesTemplate
date
  • December 2013 (en)
reason
  • Too many examples of unclear relevancy; not enough references; problematic mentions of header files and multiple declarations (en)
has abstract
  • Deklarace je v informatice zápis, kterým se v počítačovém programu zavádí jméno (identifikátor) a zpravidla určuje jeho datový typ a další aspekty pro proměnné, funkce (procedury), konstanty apod. Překladač je tak informován o příslušném objektu. V jazycích se silnou typovou kontrolou, jako je Pascal, C nebo Ada, je nutné všechny objekty deklarovat dříve, než jsou použity v programu. (cs)
  • En multaj programlingvoj, deklaro estas frazo informanta tradukilon pri ekzisto kaj ecoj de programa objekto (variablo, proceduro ktp), indikante: * ĝian nomon; * ĝian datumtipon; * la formalajn parametrojn (en deklaro de proceduro ktp). Multaj programlingvoj (interalie C) postuals, ke la nomoj estu deklaritaj antaŭ ilia uzo (laŭ la teksta ordo de la programo). (eo)
  • In computer programming, a declaration is a language construct specifying identifier properties: it declares a word's (identifier's) meaning. Declarations are most commonly used for functions, variables, constants, and classes, but can also be used for other entities such as enumerations and type definitions. Beyond the name (the identifier itself) and the kind of entity (function, variable, etc.), declarations typically specify the data type (for variables and constants), or the type signature (for functions); types may also include dimensions, such as for arrays. A declaration is used to announce the existence of the entity to the compiler; this is important in those strongly typed languages that require functions, variables, and constants, and their types to be specified with a declaration before use, and is used in forward declaration. The term "declaration" is frequently contrasted with the term "definition", but meaning and usage varies significantly between languages; see below. Declarations are particularly prominent in languages in the ALGOL tradition, including the BCPL family, most prominently C and C++, and also Pascal. Java uses the term "declaration", though Java does not require separate declarations and definitions. (en)
Faceted Search & Find service v1.17_git139 as of Feb 29 2024


Alternative Linked Data Documents: ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3330 as of Mar 19 2024, on Linux (x86_64-generic-linux-glibc212), Single-Server Edition (62 GB total memory, 54 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software