Reading from a File

Lesson Details:
July 10, 2020


I: Introduction (Introduce the topic)

II: Body (Provide details about the main topic)

A: Reading from a file (Provide details regarding the main topic)

III: Conclusion (Restate the main points and suggest further possible areas of study and investigation)

I: Introduction (Introduce the topic)

Programming is a very broad subject, and there are many different languages used in programming. There are two general categories of programming languages, text based and video based. In this article, we will be focused on text-based programming languages. Text-based programming languages are highly flexible and can be read by humans as well as computers. Today, many people use text-based programming languages to create documents for school, work, and home. In addition to text-based programming languages, there is a second category of programming language called video-based programming languages. Video-based programming languages are usually created using a graphical user interface, or GUI—a way to communicate with a computer using pictures instead of words. Today’s most widely used programming language is C++. C++ is a text-based programming language that is widely used in the creation of computer games, mathematical applications, and computer programs that can manipulate large amounts of data quickly. C++ was developed by Bjarne Stroustrup at Bell Labs in 1979. Since then it has been modified and extended by both Bell Labs and others. C++ was designed to be a successor to an earlier language called C. The creators of C++ found that there were three basic problems facing them when they started developing the new language. First, they needed a way to make their new language compatible with C programs. Second, they needed a way to make the new language faster than C. Finally, they wanted to make the new language more powerful than C, so that it could do more than C. These goals were accomplished by the following changes made to C++: They added object-oriented capabilities to the language. This allowed programmers to easily create reusable code, which could be reused by other people working on their projects. They added the ability to overload functions. This allowed programmers to change functions so that they did different things depending on how they were used. They also added the ability to define objects with constructors and destructors, which allowed programmers to easily create custom objects that did not need any special initialization routines. They added virtual functions to the language. These functions allow objects to inherit properties from other objects without having to copy all of the properties themselves. They also added several other features like namespaces and operator overloading to the language, which made it easier for programmers to use C++ for many types of projects.

III: Conclusion (Restate the main points and suggest further possible areas of study and investigation)

loader
Course content