Description
John Keyser – Introduction to C++: Programming Concepts and Applications download, John Keyser – Introduction to C++: Programming Concepts and Applications review, John Keyser – Introduction to C++: Programming Concepts and Applications free
John Keyser – Introduction to C++: Programming Concepts and Applications
Introduction to C++: Programming Concepts and Applications
Code like a champion with this user-friendly introduction to a fast, powerful, and popular computer language-C++.
LESSON
Trailer
01:Compiling Your First C++ Program
Uncover the power and appeal of C++ for a wide range of uses. Then learn that by processing only 0’s and 1’s, a computer obeys the varied commands of a complex language such as C++. Write a traditional, “Hello, World!” program and discover the importance of adding comments to your code. Finally, follow the instructions in the Quick Start video at the end of this lecture to get C++ working on your own computer or device—by going to an online programming editor or by downloading a C++ integrated development environment (IDE), tailored to your operating system.
31 min
02:C++ QUICK START: With Browser or Download
C++ QUICK START: With Browser or Download
20 min
03:Variables, Computations, and Input in C++
Try out a program that calculates calories in different foods, demonstrating the essential elements of a program: input, variables, computations, and output. Learn to specify a variable’s type and value, and get advice on shortcuts for keeping your instructions clean. Also discover the origin of the name C++, which signals that the language is designed to do whatever C can do—and then some.
34 min
04:Booleans and Conditionals in C++
Probe the power of conditionals, which let you construct programs that can choose between true and false alternatives. Learn to use the keyword bool, which stands for Boolean variable—a value that can be either true (1) or false (0). Study the three basic Boolean operations—and, or, not—and see how they can be combined to make truly complex logical operations.
30 min
05:Program Design and Writing Test Cases in C++
There’s more to making a program than writing code. Begin by focusing on the importance of the header and special commands. Then consider how to use comments as “pseudocode” to design the structure that a particular program should follow. Finally, explore the crucial strategy of testing as you go, rather than when the program is complete and errors made near the start are harder to track down.
29 min
06:C++ Loops and Iteration
Harness the power of loops, which are sections of code that repeat until a specified computation is complete. Focus on two main types of loops: while loops and for loops, with the latter being a compact way to make the loop occur a set number of times. Learn how to prevent infinite loops, and see how scope allows you to have separate variables inside and outside loops.
31 min
07:Importing C++ Functions and Libraries
The secret for building an enormous program such as Windows, with millions of lines of code, is that it draws on ready-made code libraries. Investigate the options that libraries offer, from choosing random numbers to performing complex mathematical operations. Learn how to access a code library, and get tips for finding additional resources beyond the C++ standard libraries.
30 min
08:Arrays for Quick and Easy Data Storage
In the first of two lectures on storing large amounts of data, learn the utility of arrays. An array is a collection of variables of the same type. Find out how to declare an array of variables and how to provide an index, which permits access to a specific value within the array. Finally, probe the “out-of-bounds” error that can arise with arrays and see how it led to a notorious security breach.
33 min
09:Vectors for Safe and Flexible Data Storage
Continue your study of data storage strategies by looking at vectors, which handle variables in much the same way as arrays but with distinct advantages, including the ability to change the size of a data structure dynamically. Learn how and when to use vectors, and discover that vectors offer a convenient fix for the out-of-bounds error introduced in the previous lecture.
32 min
10:C++ Strings for Manipulating Text
Go beyond numbers to see how letters and punctuation are used in data strings, which are ordered sequences of characters. Examine string literals, which are specific fixed sequences of text; and string variables, which are the main way to process and control text data, such as names and addresses. Learn how to search, alphabetize, and concatenate string variables in C++.
33 min
11:Files and Stream Operators in C++
Data files are collections of information that are accessed and manipulated through a program. See how data streaming techniques you’ve already used apply to reading and writing files with the library fstream. Discover that you’ve already been using an entity that will become increasingly important in the course: objects, which are entities combining variables and functions.
32 min
12:Top-Down Design and Using a C++ Debugger
Get to know the vital task of debugging—finding and fixing errors in your code. First, consider the advantages of top-down design, where a complex task is divided into manageable sub-tasks, as opposed to the bottom-up approach that lets complexity emerge more organically, if less predictably. See how incremental development helps in debugging through tools such as the breakpoint and step-over commands.
29 min
13:Creating Your Own Functions in C++
Functions serve as ready-made, self-contained units of code that perform a particular task, such as solving an equation, enumerating a list, or even something as simple as closing a file. Prepare for the intensive use of functions in the rest of the course by learning the basic commands that allow you to create your own functions. Get your feet wet with several examples.
30 min
14:Expanding What Your Functions Can Do in C++
A parameter is a piece of data used as input into a function. Discover how to create two functions, each with the same name, but with different numbers of parameters—an approach called overloading. Also look at different ways to “pass” parameters to produce an output, either preserving the parameter’s value (pass by value) or changing it (pass by reference).
31 min
15:Systematic Debugging, Writing Exceptions
Dig deeper into debugging, learning to employ a tool called exception handling. An exception is a special note that something has gone wrong in a program. Know how to follow up these crucial clues. Also zero in on the six major steps of debugging: isolate the error, narrow down the failure point, identify the problem, fix the problem, re-test, and look for similar cases.
31 min
16:Functions in Top-Down and Bottom-Up Design
Revisit top-down versus bottom-up approaches to coding, this time using functions as the building blocks of your program. First, create a game with the top-down strategy, identifying the individual functions that you need in a flowchart. Then design a tool for word processing by using the bottom-up tactic, in which you take available functions and create something completely new.
30 min
17:Objects and Classes: Encapsulation in C++
So far, you’ve focused on procedurally oriented programming, which characterizes the original C computer language that led to C++. Now turn to one of the major strengths and innovations of C++: object-oriented programming. Learn that objects are variables and functions encapsulated within classes. Investigate the great utility of this technique for organizing and manipulating data.
34 min
18:Object-Oriented Constructors and Operators
The ability to design appropriate classes may be the single most important skill in object-oriented programming. Survey two key tools for using classes effectively. First, constructors let you create classes that fit the requirements of the objects within them. Second, operator overloading allows you to tailor operators to a specific function, providing a handy shortcut that streamlines coding.
33 min
19:Dynamic Memory Allocation and Pointers
C++ provides different ways to control data storage in memory. Investigate dynamic memory allocation, which allows memory to grow and shrink with the demands of a program as it is running—as opposed to static memory, which is fixed at runtime. Practice managing memory in a 20-questions-type game and compare the advantages of allocating dynamic memory with pointers versus vectors.
32 min
20:Object-Oriented Programming with Inheritance
Explore the power of inheritance, which is a technique for creating classes that inherit properties from another class, called the base class. Using this tool, you can define a variable or function just once and then use it in multiple classes. Walk through several examples of inheritance, seeing how it greatly reduces complexity by eliminating redundant code.
33 min
21:Object-Oriented Programming with Polymorphism
Study a key object-oriented feature called polymorphism, which means “many shapes” and refers to the ability of a class to be used in multiple ways. Start with a superclass that is specialized into multiple subclasses, each of which has a different implementation. Learn to define virtual functions for the superclass, leading to diverse properties in the subclasses.
33 min
22:Using Classes to Build a Game Engine in C++
Use your knowledge of object-oriented programming to design a “game engine” that can be used for building multiple games. Take a top-down approach, drawing on encapsulation, hierarchical inheritance, and polymorphism to create the two-person game Othello, also known as Reversi. Discover the ease with which you can create other subclasses for additional games, such as checkers and chess.
31 min
23:C++ Templates, Containers, and the STL
Whenever you have an idea that’s so general that it’s not tied down by any specific data type, you’ll want to turn to generic programming, which substitutes a template for a data type. The Standard Template Library (STL) is a menu of generic container structures that address these types of problems. Learn the advantages of various containers, including queues, lists, stacks, and vectors.
32 min
24:C++ Associative Containers and Algorithms
Probe deeper into generic programming and the STL, focusing on associative containers and algorithms. The former is a set of templates that lets you group different elements into ordered sets, while algorithms are rules that handle data or accomplish some other task, allowing advanced operations to be performed very quickly. Learn that algorithms are a powerful tool in programming.
31 min
25:Artificial Intelligence Algorithm for a Game
Finish the course by drawing on all you have learned to design a game-playing algorithm for artificial intelligence—that is, a program that makes “intelligent” game moves as if it were human. Finally, look ahead to your options for continuing study in computer programming. With elementary C++ under your belt, there are many directions you can go in mastering this valuable skill.
34 min
DETAILS
Overview
Taught by Professor John Keyser of Texas A&;amp;M University, this course is a step-by-step guide to the popular computer programming language C++. Professor Keyser explains how to access C++ so you can program along with him as he covers the major coding styles offered by this versatile language, including object-oriented programming. In the last lecture, you create an AI game-playing program.
About
John Keyser
Just as language helps us organize and describe ideas for people, programming languages help us organize and describe ideas for the computer.
Dr. John Keyser is a Professor and the Associate Department Head for Academics in the Department of Computer Science and Engineering at Texas A&M University, where he has taught since earning his Ph.D. in Computer Science from the University of North Carolina. As an undergraduate, he earned three bachelor’s degrees-in Computer Science, Engineering Physics, and Applied Math-from Abilene Christian University.
Dr. Keyser’s interest in computing, physics, and math steered him into a career in computer graphics, allowing him to combine all three disciplines. He has published widely on geometric modeling, physically based simulation for graphics, and a variety of other graphics topics.
Dr. Keyser’s teaching ranges from introductory undergraduate courses in computing and programming to graduate courses in modeling and simulation. Among these, he created a new Programming Studio course that has become required for all Computer Science and Computer Engineering majors at Texas A&M. He has been honored three times with Texas A&M’s Distinguished Achievement Award in Teaching-once at the university level and twice from the Dwight Look College of Engineering. As an Assistant Professor, he was named a Montague Scholar by the Center for Teaching Excellence. He also won the Tenneco Meritorious Teaching Award and the Theta Tau Most Informative Lecturer Award.
REVIEWS
DavidTW
Olympia,WA
Very good introduction to tough expansive language
This has been a very nice introduction with just the right amount of detail. Well done.
Dhruv700
Great cours
Great course. Very detailed and makes you feel like c++ is the easiest programming language out there. The only complaint I have is that they did not have a lecture for switch statements and do while loops.
Robot1
Excellent lecturer
The lectures were arranged in a logical sequence and provided an excellent introduction to C++ programming. The lecturer was excellent.
Frequently Asked Questions:
- Innovative Business Model:
- Embrace the reality of a genuine business! Our approach involves forming a group buy, where we collectively share the costs among members. Using these funds, we purchase sought-after courses from sale pages and make them accessible to individuals facing financial constraints. Despite potential reservations from the authors, our customers appreciate the affordability and accessibility we provide.
- The Legal Landscape: Yes and No:
- The legality of our operations falls into a gray area. While we lack explicit approval from the course authors for resale, there’s a technicality at play. When procuring the course, the author didn’t specify any restrictions on resale. This legal nuance presents both an opportunity for us and a boon for those seeking budget-friendly access.
- Quality Assurance: Unveiling the Real Deal:
- Delving into the heart of the matter – quality. Acquiring the course directly from the sale page ensures that all documents and materials are identical to those obtained through conventional means. However, our differentiator lies in going beyond personal study; we take an extra step by reselling. It’s important to note that we are not the official course providers, meaning certain premium services aren’t included in our package:
- No coaching calls or scheduled sessions with the author.
- No access to the author’s private Facebook group or web portal.
- No entry to the author’s exclusive membership forum.
- No direct email support from the author or their team.
We operate independently, aiming to bridge the affordability gap without the additional services offered by official course channels. Your understanding of our unique approach is greatly appreciated.
- Delving into the heart of the matter – quality. Acquiring the course directly from the sale page ensures that all documents and materials are identical to those obtained through conventional means. However, our differentiator lies in going beyond personal study; we take an extra step by reselling. It’s important to note that we are not the official course providers, meaning certain premium services aren’t included in our package:
Refund is acceptable:
- Firstly, item is not as explained
- Secondly, Item do not work the way it should.
- Thirdly, and most importantly, support extension can not be used.
Thank you for choosing us! We’re so happy that you feel comfortable enough with us to forward your business here.
Reviews
There are no reviews yet.