An Entity of Type: Thing, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

In C and C++ programming language terminology, a translation unit (or more casually a compilation unit) is the ultimate input to a C or C++ compiler from which an object file is generated. A translation unit roughly consists of a source file after it has been processed by the C preprocessor, meaning that header files listed in #include directives are literally included, sections of code within #ifndef may be included, and macros have been expanded.

Property Value
dbo:abstract
  • Bei der Programmierung in C/C++ ist die Übersetzungseinheit die endgültige Eingabe an den Compiler, aus welcher die erstellt wird. Sie ist die Ausgabe des Präprozessors. Analog wird die endgültige Eingabe an den Präprozessor als Präprozessor-Übersetzungseinheit bezeichnet. Konkret bedeutet dies für eine Quelldatei, dass Header-Dateien eingebunden werden (Präprozessor-Übersetzungseinheit), Codezeilen im Rahmen der ignoriert und Makros durch zugehörige Anweisungen ersetzt werden. Daraus folgt auch, dass C- und C++-Compiler nicht die eigentliche Quelldatei kompilieren, sondern die Übersetzungseinheit. In C++ bilden Klassen meistens jeweils eine Übersetzungseinheit. (de)
  • In C and C++ programming language terminology, a translation unit (or more casually a compilation unit) is the ultimate input to a C or C++ compiler from which an object file is generated. A translation unit roughly consists of a source file after it has been processed by the C preprocessor, meaning that header files listed in #include directives are literally included, sections of code within #ifndef may be included, and macros have been expanded. (en)
  • В языках программирования единица трансляции — максимальный блок исходного текста, который физически можно оттранслировать (преобразовать во внутреннее машинное представление; в частности, откомпилировать). Важная концепция языков Си и Си++. Понятие «единица трансляции» появилось с первыми диалоговыми компьютерами: в те времена нехватка памяти была такой, что компьютер не мог удержать в ней одновременно компилятор, текст крупной программы и результирующий код. Приходилось компилировать по частям, а затем специальной программой — компоновщиком — собирать из откомпилированных модулей исполняемый файл. Сейчас текст разбивают на единицы трансляции в первую очередь ради повторного использования кода. Да и современные оптимизирующие компиляторы зачастую медленны настолько, что пересборка большой программы может длиться десятки минут. (ru)
  • У мовах програмування С та С++ одиниця трансляції (англ. translation unit) — файл сирців разом з усіма включеними в нього за допомогою директиви #include заголовними та сирцевими файлами і без рядків коду, що виключені за допомогою умовних директив препроцесора. Програма утворюється однією або кількома одиницями трансляції зкомпонованими разом. Одиниця трансляції, в свою чергу, утворюється з послідовності оголошень: translation-unit: declaration-seqopt На відміну від інших мов програмування (Паскаль, Java, C#), в Сі кожен з c-файлів — «річ в собі», яка не залежить від інших c-файлів. Тільки після того, як файли будуть відкомпільованими, компонувальник збере їх в єдину програму. (uk)
dbo:wikiPageID
  • 26009779 (xsd:integer)
dbo:wikiPageLength
  • 4536 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1106991689 (xsd:integer)
dbo:wikiPageWikiLink
dbp:wikiPageUsesTemplate
dcterms:subject
gold:hypernym
rdfs:comment
  • In C and C++ programming language terminology, a translation unit (or more casually a compilation unit) is the ultimate input to a C or C++ compiler from which an object file is generated. A translation unit roughly consists of a source file after it has been processed by the C preprocessor, meaning that header files listed in #include directives are literally included, sections of code within #ifndef may be included, and macros have been expanded. (en)
  • Bei der Programmierung in C/C++ ist die Übersetzungseinheit die endgültige Eingabe an den Compiler, aus welcher die erstellt wird. Sie ist die Ausgabe des Präprozessors. Analog wird die endgültige Eingabe an den Präprozessor als Präprozessor-Übersetzungseinheit bezeichnet. (de)
  • В языках программирования единица трансляции — максимальный блок исходного текста, который физически можно оттранслировать (преобразовать во внутреннее машинное представление; в частности, откомпилировать). Важная концепция языков Си и Си++. Сейчас текст разбивают на единицы трансляции в первую очередь ради повторного использования кода. Да и современные оптимизирующие компиляторы зачастую медленны настолько, что пересборка большой программы может длиться десятки минут. (ru)
  • У мовах програмування С та С++ одиниця трансляції (англ. translation unit) — файл сирців разом з усіма включеними в нього за допомогою директиви #include заголовними та сирцевими файлами і без рядків коду, що виключені за допомогою умовних директив препроцесора. Програма утворюється однією або кількома одиницями трансляції зкомпонованими разом. Одиниця трансляції, в свою чергу, утворюється з послідовності оголошень: translation-unit: declaration-seqopt (uk)
rdfs:label
  • Übersetzungseinheit (de)
  • Translation unit (programming) (en)
  • Единица трансляции (ru)
  • Одиниця трансляції (uk)
owl:sameAs
prov:wasDerivedFrom
foaf:isPrimaryTopicOf
is dbo:wikiPageDisambiguates of
is dbo:wikiPageRedirects of
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License