C++: Нұсқалар арасындағы айырмашылық

Уикипедия — ашық энциклопедиясынан алынған мәлімет
Навигацияға өту Іздеуге өту
Content deleted Content added
Өңдеу түйіні жоқ
Өңдеу түйіні жоқ
31-жол: 31-жол:


==Hello world==
==Hello world==
<!--

***************************************************************
*
* PLEASE NOTE:
*
* BEFORE MAKING CHANGES to the "Hello World" example
* please establish consensus by discussing your proposed changes
* on the Talk page. This is not the place to "Be Bold"; this
* has been discussed before at length.
*
* If you change the sample program without discussion, it will be
* reverted within a few minutes.
*
* Yes, you could say "using namespace std;" or "using std::cout;".
* Yes, you could use "std::endl" rather than "\n".
* Yes, you could add "return 0;" at the end.
* Yes, you could add "int argc, char ** argv" to main.
* Yes, your ancient compiler might require "#include <iostream.h>".
* Yes, you could use "printf" from the Standard C Library.
*
* But don't.
*
* The latest consensus is ''not'' to make any of those changes.
* This is the example "Hello, world!" by Bjarne Stroustrup,
* the author of the C++ language, and is used in
* his book, "The C++ Programming Language (3rd edition)".
*
***************************************************************

--><source lang="cpp">

# include <iostream>

int main()
{
std::cout << "Hello, world!\n";
}
</source>

<!-- [[statically typed]], [[free-form language|free-form]], [[multi-paradigm programming language|multi-paradigm]], [[compiled language|compiled]], general-purpose [[programming language]]. It is regarded as an intermediate-level language, as it comprises a combination of both [[high-level programming language|high-level]] and [[low-level programming language|low-level]] language features.<ref name="shildt">{{cite book |title=C++ The Complete Reference |edition=Third |authorlink=Herbert Schildt |first=Herbert |last=Schildt |publisher=Osborne McGraw-Hill |date=1 August 1998 |isbn=978-0-07-882476-0 }}</ref> Developed by [[Bjarne Stroustrup]] starting in 1979 at [[Bell Labs]], it adds [[Object-oriented programming|object oriented]] features, such as classes, and other enhancements to the [[C (programming language)|C programming language]]. Originally named '''C with Classes''', the language was renamed C++ in 1983,<ref name="invention">{{cite web |url=http://www2.research.att.com/~bs/bs_faq.html#invention |title=C++ Faq: When was C++ Invented |first=Bjarne |last=Stroustrup |publisher=ATT.com |date=7 March 2010 |accessdate=16 September 2010 }}</ref> as a pun involving the [[increment operator]].
-->


==Сілттемелер==
==Сілттемелер==

11:45, 2015 ж. маусымның 3 кезіндегі нұсқа

C++
бағдарламалау парадигмасы Multi-paradigm:[1] procedural, functional, object-oriented, generic
Пайда болды 1983
Дамытушы/дизайнері Bjarne Stroustrup
Бағдарламалық жасақтама дамытушысы
  • Bjarne Stroustrup
  • Bell Labs
  • ISO/IEC JTC1/SC22/WG21
Теру жүйесі Static, unsafe, nominative
Имплементациялары Үлгі:Nowraplinks
Бағдарламалық жасақтама тілінің диалекттері Үлгі:Nowraplinks
Бұған ықпал етті C, Simula, Ada 83, ALGOL 68, CLU, ML[1]
Ықпалы Perl, LPC, Lua, Pike, Ada 95, Java, PHP, D, C99, C#,[2] Falcon, Seed7
Операциялық жүйесі Cross-platform (multi-platform)

C++ (дауысталуы "си плас плас") 1979 жылы Bell Labs лабороториясында Бьёрн Страустрап дамытқан бағдарламалау тілі.

Hello world

Сілттемелер

  1. a b Stroustrup Bjarne 1 // The C++ Programming Language — Third. — 1997. — ISBN 0-201-88954-4.
  2. Naugler, David (May 2007). "C# 2.0 for C++ and Java programmer: conference workshop". Journal of Computing Sciences in Colleges 22 (5). "Although C# has been strongly influenced by Java it has also been strongly influenced by C++ and is best viewed as a descendant of both C++ and Java.".