Thursday, November 21, 2019
CIS Essay Example | Topics and Well Written Essays - 500 words - 1
CIS - Essay Example C++ is an extension of the C programming language. It is a high level third-generation programming language that was originally designed for UNIX systems. The term ââ¬Å"C++â⬠was coined in 1983. C is another programming language that was developed by Dennis M. Ritchie in the 1970s at Bell Labs (Codingunit.com, n.d). Bjarne Stroustrup had worked with Simula, the first object-oriented programming language. The idea of creating C++ arose from a need for features that were not possible with other languages at that time. He added object oriented features borrowed from Simula into C to create a new programming language that was fast, efficient and easier to design. C++ is currently used in desktop applications, telecommunication systems, data analysis, simulation, manufacturing systems, clinical systems, irrigation control systems, web applications, graphics design, desktop and mobile operating systems amongst other uses (Stroustrup.com, 2015). iv) Lines four and six have opening and closing braces. These braces indicate the beginning and end of the int main() function definition. The content inside the braces is the actual code that will be executed when this function is called by the program. v) The fifth line is a statement. A statement is any expression that results in the occurrence of an action in the program. The first part of the statement, std::cout, identifies the standard character output device, in this case, the screen. The insertion operator (
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.