title
C++ Tutorial For Beginners | C++ Programming | C++ | C++ Basics | C++ For Beginners | Simplilearn

description
🔥 IITM Pravartak Professional Certificate Program In Full Stack Development - MERN (India Only): https://www.simplilearn.com/full-stack-developer-course-and-certification-iitm-pravartak?utm_campaign=SCE-FullstackIITM&utm_medium=DescriptionFF&utm_source=youtube 🔥Post Graduate Program In Full Stack Web Development: https://www.simplilearn.com/pgp-full-stack-web-development-certification-training-course?utm_campaign=CPlusPlusBasics-McojvctVsUs&utm_medium=DescriptionFF&utm_source=youtube 🔥Caltech Coding Bootcamp (US Only): https://www.simplilearn.com/coding-bootcamp?utm_campaign=CPlusPlusBasics-McojvctVsUs&utm_medium=DescriptionFF&utm_source=youtube In this video on C++ Tutorial for Beginners, you will learn about some basic topics that will help you understand C++ in a better way. You will learn about arrays, strings, if-else, for loop, while loop, functions, and much more. This C++ tutorial for beginners will help you understand all the essential topics you need to know to learn C++ programming. Below are the topics that will be covered in C++ Basics for Beginners video: 00:00 Introduction - c++ tutorial for beginners 01:51 The first Program - c++ tutorial for beginners 04:11 Types and Variables - c++ tutorial for beginners 05:31 Arrays - c++ tutorial for beginners 06:11 Strings - c++ tutorial for beginners 07:11 If-else - c++ tutorial for beginners 07:51 for loop - c++ tutorial for beginners 08:41 while loop - c++ tutorial for beginners 09:41 functions - c++ tutorial for beginners ✅Subscribe to our Channel to learn more about the top Technologies: https://bit.ly/2VT4WtH ⏩ Check out the C++ Programming training videos: https://www.youtube.com/playlist?list=PLEiEAq2VkUUKqiV3x0XzAuMtlvyYxHuin #c++tutorialForBeginners #C++Programming #C++ #C++Basics #CPlusPlusBasicsForBeginners #C++BasicsForBeginners #C++TutorialForBeginners #CPlusPlusTutorialForBeginners #CPlusPlusProgramming #CPlusPlusTutorial #C++Programming #C++ProgrammingTutorial #LearnC++ #LearnProgramming #C++ProgrammingBasics #Simplilearn ✅What is C++ Programming? C++ is an enhanced and extended version of C programming language, developed by Bjarne Stroustrup in 1979 as part of his Ph.D. project. Bjarne developed what he called ‘C with Classes’ (later renamed C++) because he felt limited by the existing programming languages that were not ideal for large scale projects. He used C to build what he wanted because C was already a general-purpose language that was efficient and fast in its operations. ✅C++ Career Prospects: With just C++ programming expertise, you will have excellent job opportunities, salaries, and career prospects. However, for a career based on programming languages such as Java and Python (which are in more demand than C++) or for careers based on front-end, back-end, and full-stack development, you will go a lot further with C++ expertise. Furthermore, in development domains such as software testing, you are expected to know C++. ➡️ About Post Graduate Program In Full Stack Web Development This program will give you the foundation for building full-stack web apps using the Java programming language. You'll begin with the basics of JavaScript, and then venture into some of the more advanced concepts like Angular, Spring Boot, Hibernate, JSPs, and MVC. Now is the perfect time to get started on your career as a full-stack web developer! ✅ Key Features - Caltech CTME Post Graduate Certificate - Enrolment in Simplilearn’s JobAssist - Receive up to 25 CEUs from Caltech CTME - Simplilearn's JobAssist helps you get noticed by top hiring companies - Attend Masterclasses from Caltech CTME instructors - Live virtual classes led by industry experts, hands-on projects and integrated labs - Online Convocation by Caltech CTME Program Director - 20 lesson-end and 5 phase-end projects - Capstone Project in 4 domains - Caltech CTME Circle Membership - Build your own portfolio on GitHub ✅ Skills Covered - Agile - JAVA - Hibernate and JPA - Spring Core 50 - DevOps - HTML5 and CSS3 - AWS - JavaScript ES6 - Servlets - SOAP and REST - JSP 👉To know about C++ programming, visit: https://www.simplilearn.com/c-plus-plus-programming-for-beginners-article?utm_campaign=CPlusPlusBasics&utm_medium=Description&utm_source=youtube 🔥 Explore our FREE Courses: https://www.simplilearn.com/skillup-free-online-courses?utm_campaign=CPlusPlusBasics&utm_medium=Description&utm_source=youtube 🔥🔥 Interested in Attending Live Classes? Call Us: IN - 18002127688 / US - +18445327688 "

detail
{'title': 'C++ Tutorial For Beginners | C++ Programming | C++ | C++ Basics | C++ For Beginners | Simplilearn', 'heatmap': [{'end': 143.412, 'start': 110.718, 'weight': 0.78}, {'end': 394.514, 'start': 237.876, 'weight': 0.811}, {'end': 479.184, 'start': 440.956, 'weight': 0.725}, {'end': 528.737, 'start': 506.687, 'weight': 0.803}, {'end': 763.266, 'start': 712.898, 'weight': 0.728}, {'end': 955.164, 'start': 928.371, 'weight': 0.794}], 'summary': 'This c++ tutorial covers the basics of c++ programming, including history, features, first program, types, variables, arrays, strings, if-else statements, loops, and functions, with practical examples in vs code, aiming to provide a comprehensive introduction to c++ for beginners.', 'chapters': [{'end': 253.95, 'segs': [{'end': 63.948, 'src': 'embed', 'start': 34.622, 'weight': 0, 'content': [{'end': 39.232, 'text': 'But before we begin, make sure to subscribe to our channel and hit the bell icon to never miss an update.', 'start': 34.622, 'duration': 4.61}, {'end': 43.942, 'text': "So let's start with the introduction to C++ programming.", 'start': 40.635, 'duration': 3.307}, {'end': 50.643, 'text': 'C++ is a popular programming language introduced by John Stroustrup in the year 1979.', 'start': 44.921, 'duration': 5.722}, {'end': 57.225, 'text': 'The aim was to make a dynamic language that is efficient and has some additional features to C.', 'start': 50.643, 'duration': 6.582}, {'end': 63.948, 'text': 'Initially, it was called C with glasses as it was an extension to C language, but later renamed as C++.', 'start': 57.225, 'duration': 6.723}], 'summary': 'C++ is a popular programming language introduced by john stroustrup in 1979 with the aim to make a dynamic, efficient language with additional features to c.', 'duration': 29.326, 'max_score': 34.622, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/McojvctVsUs/pics/McojvctVsUs34622.jpg'}, {'end': 157.95, 'src': 'heatmap', 'start': 110.718, 'weight': 1, 'content': [{'end': 112.999, 'text': 'In this program, Hello World is printed.', 'start': 110.718, 'duration': 2.281}, {'end': 120.741, 'text': 'It is very basic program and in the first part of the program, we are including a header file, hash include iostream.', 'start': 113.759, 'duration': 6.982}, {'end': 125.805, 'text': 'Header files are generally used to import features into the program.', 'start': 122.284, 'duration': 3.521}, {'end': 135.389, 'text': 'Functions like cin which is used to take the input from the user and cout which is used to display the output are defined in this ispin header file.', 'start': 126.486, 'duration': 8.903}, {'end': 143.412, 'text': 'Here using namespace standard means we are using all the things which are within the standard library.', 'start': 136.789, 'duration': 6.623}, {'end': 147.384, 'text': 'The second part of the program is main function.', 'start': 144.963, 'duration': 2.421}, {'end': 151.406, 'text': 'This is a special function from where the execution of program starts.', 'start': 148.065, 'duration': 3.341}, {'end': 157.95, 'text': 'Inside the main function we are printing hello world using the cout which is used to print the output.', 'start': 152.167, 'duration': 5.783}], 'summary': "Basic program prints 'hello world' using cout and includes iostream header file.", 'duration': 73.656, 'max_score': 110.718, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/McojvctVsUs/pics/McojvctVsUs110718.jpg'}], 'start': 8.154, 'title': 'C++ basics and introduction to programming', 'summary': "Provides an introduction to c++ basics and programming, covering its history, features, first program, and various topics such as types, variables, arrays, strings, if-else statements, loops, and functions, along with an example of a simple 'hello world' program.", 'chapters': [{'end': 112.999, 'start': 8.154, 'title': 'C++ basics tutorial', 'summary': 'Introduces c++ basics, covering its introduction, history, and features, and then delves into the first program, hello world, and the various topics like types, variables, arrays, strings, if-else statements, for loop, while loop, and functions.', 'duration': 104.845, 'highlights': ['C++ is a popular programming language introduced by John Stroustrup in the year 1979. It showcases the historical background of C++, providing context for its significance.', 'C++ supports the features of object-oriented language like encapsulation, inheritance, polymorphism, etc. Details the object-oriented features of C++, indicating its versatility and applicability.', "The first program for beginners is Hello World program, where 'Hello World' is printed. Introduces the first program in C++, emphasizing its simplicity and fundamental nature."]}, {'end': 253.95, 'start': 113.759, 'title': 'Introduction to c++ programming', 'summary': "Introduces the basics of c++ programming, including the structure of a program, the main function, and the use of header files, with an example of a simple 'hello world' program.", 'duration': 140.191, 'highlights': ["The main function is a special function from where the execution of the program starts, and it includes printing 'hello world' using the 'cout' function and returning zero to indicate successful execution.", "Header files, such as 'iostream', are used to import features into the program, and they define functions like 'cin' for input and 'cout' for output.", "The 'namespace standard' is used to indicate that all the things within the standard library are being utilized in the program."]}], 'duration': 245.796, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/McojvctVsUs/pics/McojvctVsUs8154.jpg', 'highlights': ['C++ is a popular programming language introduced by John Stroustrup in the year 1979. It showcases the historical background of C++, providing context for its significance.', 'C++ supports the features of object-oriented language like encapsulation, inheritance, polymorphism, etc. Details the object-oriented features of C++, indicating its versatility and applicability.', "The first program for beginners is Hello World program, where 'Hello World' is printed. Introduces the first program in C++, emphasizing its simplicity and fundamental nature.", "The main function is a special function from where the execution of the program starts, and it includes printing 'hello world' using the 'cout' function and returning zero to indicate successful execution.", "Header files, such as 'iostream', are used to import features into the program, and they define functions like 'cin' for input and 'cout' for output.", "The 'namespace standard' is used to indicate that all the things within the standard library are being utilized in the program."]}, {'end': 603.664, 'segs': [{'end': 282.421, 'src': 'embed', 'start': 255.812, 'weight': 1, 'content': [{'end': 262.678, 'text': 'In C++ there are different types of data type that acts as a keyword which is responsible to define a variable.', 'start': 255.812, 'duration': 6.866}, {'end': 265.453, 'text': 'First is Boolean data type.', 'start': 264.212, 'duration': 1.241}, {'end': 270.475, 'text': 'This keyword is used when we have two values, either true or false.', 'start': 266.173, 'duration': 4.302}, {'end': 273.716, 'text': 'And these values are used when there are conditions.', 'start': 271.115, 'duration': 2.601}, {'end': 277.418, 'text': "For example, if the condition is satisfied, then it's true.", 'start': 274.317, 'duration': 3.101}, {'end': 279.519, 'text': 'Otherwise, it will return false.', 'start': 277.898, 'duration': 1.621}, {'end': 282.421, 'text': 'Next is character data type.', 'start': 281.08, 'duration': 1.341}], 'summary': 'C++ has boolean data type for true/false values and character data type.', 'duration': 26.609, 'max_score': 255.812, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/McojvctVsUs/pics/McojvctVsUs255812.jpg'}, {'end': 352.41, 'src': 'embed', 'start': 311.472, 'weight': 0, 'content': [{'end': 313.953, 'text': 'variables are used with these data types.', 'start': 311.472, 'duration': 2.481}, {'end': 315.874, 'text': 'It is generally used to store values.', 'start': 314.334, 'duration': 1.54}, {'end': 319.216, 'text': 'And this is the syntax to define a variable.', 'start': 316.755, 'duration': 2.461}, {'end': 323.959, 'text': 'First, we will mention the data type and then the variable name of our choice.', 'start': 319.917, 'duration': 4.042}, {'end': 329.162, 'text': 'For example, int is the data type and data is the variable name.', 'start': 324.639, 'duration': 4.523}, {'end': 331.683, 'text': 'Moving to arrays.', 'start': 330.862, 'duration': 0.821}, {'end': 337.697, 'text': 'Arrays are one of the most important and widely used concepts in C++.', 'start': 333.914, 'duration': 3.783}, {'end': 341.24, 'text': 'It can be defined as a collection of similar kind of elements.', 'start': 338.438, 'duration': 2.802}, {'end': 346.585, 'text': 'The elements of array are stored in contagious memory locations, that is, one after the other.', 'start': 341.801, 'duration': 4.784}, {'end': 352.41, 'text': 'Arrays make it possible to store multiple values of the same data type into a single variable.', 'start': 346.605, 'duration': 5.805}], 'summary': 'C++ uses variables to store values and arrays to store multiple values of the same data type.', 'duration': 40.938, 'max_score': 311.472, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/McojvctVsUs/pics/McojvctVsUs311472.jpg'}, {'end': 409.504, 'src': 'embed', 'start': 381.365, 'weight': 4, 'content': [{'end': 385.768, 'text': 'The syntax of string contains a collection of characters surrounded by double quotes.', 'start': 381.365, 'duration': 4.403}, {'end': 394.514, 'text': 'For example, here string is the type, str is the name of the string, and coffee is the value that is assigned to the string.', 'start': 386.408, 'duration': 8.106}, {'end': 399.057, 'text': 'In C++, there are two ways to create a string.', 'start': 396.295, 'duration': 2.762}, {'end': 401.939, 'text': 'First is C style strings.', 'start': 400.198, 'duration': 1.741}, {'end': 406.782, 'text': 'In C style strings, collection of characters are stored in the form of arrays.', 'start': 402.659, 'duration': 4.123}, {'end': 409.504, 'text': 'They are basically arrays of type character.', 'start': 407.442, 'duration': 2.062}], 'summary': 'In c++, there are two ways to create strings: c style strings and arrays of characters.', 'duration': 28.139, 'max_score': 381.365, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/McojvctVsUs/pics/McojvctVsUs381365.jpg'}, {'end': 479.184, 'src': 'heatmap', 'start': 440.956, 'weight': 0.725, 'content': [{'end': 451.14, 'text': 'For example, if the number variable here is equal to 10, then only the block of code will execute and will print the message you got it.', 'start': 440.956, 'duration': 10.184}, {'end': 458.623, 'text': 'Otherwise, it will run the else block and display the message written inside that block which is not this one.', 'start': 452.401, 'duration': 6.222}, {'end': 462.245, 'text': 'Now, coming to loops.', 'start': 460.444, 'duration': 1.801}, {'end': 464.566, 'text': 'First is for loop.', 'start': 463.766, 'duration': 0.8}, {'end': 475.743, 'text': 'For loop is the repetition control structure that allows us to repeat a block of code for a fixed number of times instead of repeating the same code again and again.', 'start': 465.578, 'duration': 10.165}, {'end': 479.184, 'text': 'The syntax of for loop has three parts.', 'start': 477.123, 'duration': 2.061}], 'summary': 'Code will execute if number is 10, else run else block. for loop repeats code fixed times.', 'duration': 38.228, 'max_score': 440.956, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/McojvctVsUs/pics/McojvctVsUs440956.jpg'}, {'end': 546.816, 'src': 'heatmap', 'start': 506.687, 'weight': 3, 'content': [{'end': 519.373, 'text': 'That is, it will repeat for 10 times in total from 0 to 9 and I++ denotes that we are incrementing the loop after each iteration by 1.', 'start': 506.687, 'duration': 12.686}, {'end': 521.413, 'text': 'Another type of loop is while loop.', 'start': 519.373, 'duration': 2.04}, {'end': 528.737, 'text': "While loop are used in C++ when we don't know the exact number of times the loop should repeat.", 'start': 522.953, 'duration': 5.784}, {'end': 533.379, 'text': 'It repeats the statements till the given condition is true.', 'start': 530.077, 'duration': 3.302}, {'end': 538.533, 'text': 'The syntax of while loop is while keyword and condition in the brackets.', 'start': 534.252, 'duration': 4.281}, {'end': 541.875, 'text': 'And the loop will iterate till that condition is true.', 'start': 539.274, 'duration': 2.601}, {'end': 546.816, 'text': 'And once the condition becomes false, then the control passes outside the loop.', 'start': 542.635, 'duration': 4.181}], 'summary': 'C++ has for and while loops, with for loop repeating 10 times and while loop until a condition is false.', 'duration': 23.863, 'max_score': 506.687, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/McojvctVsUs/pics/McojvctVsUs506687.jpg'}, {'end': 603.664, 'src': 'embed', 'start': 576.906, 'weight': 5, 'content': [{'end': 581.81, 'text': 'Functions in C++ are group of statements that are designed to perform a specific task.', 'start': 576.906, 'duration': 4.904}, {'end': 590.596, 'text': 'It allows us to write a code inside the function and then we can use that code every time when we need it by simply mocking the function.', 'start': 582.65, 'duration': 7.946}, {'end': 593.96, 'text': 'We can also pass arguments to the function.', 'start': 592.219, 'duration': 1.741}, {'end': 603.664, 'text': 'The syntax of function is type, function name and then the parameters inside the function brackets.', 'start': 594.76, 'duration': 8.904}], 'summary': 'Functions in c++ allow code reusability and support parameter passing.', 'duration': 26.758, 'max_score': 576.906, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/McojvctVsUs/pics/McojvctVsUs576906.jpg'}], 'start': 255.812, 'title': 'C++ data types, structures, and control', 'summary': 'Covers c++ data types including boolean, character, integer, float, arrays, and strings, and their syntax and usage, along with if else conditional statements. it also covers control structures for executing code based on conditions, repetition of code using for and while loops, and the usage of functions in c++, with examples and syntax provided.', 'chapters': [{'end': 434.779, 'start': 255.812, 'title': 'C++ data types and structures', 'summary': 'Covers c++ data types such as boolean, character, integer, float, arrays, and strings, and their syntax and usage in programming, along with if else conditional statements.', 'duration': 178.967, 'highlights': ['Arrays make it possible to store multiple values of the same data type into a single variable. Arrays are widely used in C++ to store similar elements in contiguous memory locations, facilitating the storage of multiple values of the same data type.', 'Boolean data type is used when we have two values, either true or false, and is utilized for conditions. The boolean data type in C++ is used for conditions, with values of true or false.', 'Variables are used to store values and are defined by mentioning the data type followed by the variable name. Variables in C++ are used to store values, and their definition includes specifying the data type followed by the variable name.', 'If else statements are conditional statements used to run the code based on specific conditions. If else statements are employed in C++ to execute code based on certain conditions.', 'Strings in C++ are used to represent text and can be manipulated using various operations. Strings in C++ are utilized to represent text and can undergo multiple operations for manipulation.']}, {'end': 603.664, 'start': 435.714, 'title': 'Control structures in c++', 'summary': 'Covers the execution of code based on conditions, repetition of code using for and while loops, and the usage of functions in c++, with examples and syntax provided.', 'duration': 167.95, 'highlights': ['The chapter covers the execution of code based on conditions, repetition of code using for and while loops, and the usage of functions in C++, with examples and syntax provided. Explanation of if-else statement; Syntax and example of for loop; Syntax and example of while loop; Explanation of functions and their syntax.', 'The for loop is the repetition control structure that allows us to repeat a block of code for a fixed number of times. Syntax of for loop; Explanation of initialization, condition, and updation in for loop.', 'While loops are used in C++ when the exact number of iterations is not known, and they repeat the statements till the given condition is true. Syntax of while loop; Condition-based iteration; Control passing outside the loop when condition is false.', 'Functions in C++ are a group of statements designed to perform a specific task, and they allow code reusability by simply invoking the function. Definition of functions; Code reusability; Passing arguments to functions.']}], 'duration': 347.852, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/McojvctVsUs/pics/McojvctVsUs255812.jpg', 'highlights': ['Arrays store multiple values of the same data type in a single variable.', 'Boolean data type in C++ is used for conditions, with values of true or false.', 'Variables in C++ store values, defined by data type followed by variable name.', 'If else statements in C++ execute code based on certain conditions.', 'Strings in C++ represent text and can undergo multiple operations for manipulation.', 'Chapter covers execution of code based on conditions, repetition using loops, and usage of functions in C++.', 'For loop in C++ repeats a block of code for a fixed number of times.', 'While loops in C++ repeat statements till the given condition is true.', 'Functions in C++ perform specific tasks and allow code reusability by invoking the function.']}, {'end': 1217.718, 'segs': [{'end': 631.513, 'src': 'embed', 'start': 603.664, 'weight': 0, 'content': [{'end': 608.846, 'text': 'we can write the code and we can invoke the function by calling it from the main function.', 'start': 603.664, 'duration': 5.182}, {'end': 617.029, 'text': "So as we have understood these concepts, so let's move on to our code editor that is VS code to do some examples on these concepts.", 'start': 609.866, 'duration': 7.163}, {'end': 627.27, 'text': 'So, here we will do an example in which we will find the number of even elements and odd elements using array for loop and if-else statements.', 'start': 618.362, 'duration': 8.908}, {'end': 631.513, 'text': "So, let's first of all make a new file.", 'start': 628.23, 'duration': 3.283}], 'summary': 'Learned about invoking functions and using vs code for array manipulation.', 'duration': 27.849, 'max_score': 603.664, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/McojvctVsUs/pics/McojvctVsUs603664.jpg'}, {'end': 763.266, 'src': 'heatmap', 'start': 696.558, 'weight': 1, 'content': [{'end': 712.898, 'text': "okay, now, first of all we'll initialize the variables, let's say int even zero, and we'll initialize odd variable with zero as well.", 'start': 696.558, 'duration': 16.34}, {'end': 741.82, 'text': "now we'll write int length, because we want to find size of the array and for that we'll write size of array name, then divide size of array of zero.", 'start': 712.898, 'duration': 28.922}, {'end': 744.322, 'text': "so now I'll explain this part.", 'start': 741.82, 'duration': 2.502}, {'end': 753.808, 'text': 'here we have an array which has five integers and since size of an integer is 4 bytes, therefore size of array is 5 into 4, that is 20 bytes.', 'start': 744.322, 'duration': 9.486}, {'end': 756.565, 'text': 'Now int length.', 'start': 755.265, 'duration': 1.3}, {'end': 759.706, 'text': 'we have written int length equals size of array.', 'start': 756.565, 'duration': 3.141}, {'end': 763.266, 'text': 'divided by size of array of 0, that is 20.', 'start': 759.706, 'duration': 3.56}], 'summary': 'Initializing even and odd variables, finding array size, size is 20 bytes.', 'duration': 47.764, 'max_score': 696.558, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/McojvctVsUs/pics/McojvctVsUs696558.jpg'}, {'end': 955.164, 'src': 'heatmap', 'start': 928.371, 'weight': 0.794, 'content': [{'end': 944.258, 'text': "odd numbers, the variable odd, and after that we'll write return zero.", 'start': 928.371, 'duration': 15.887}, {'end': 946.319, 'text': 'okay, so this is the code.', 'start': 944.258, 'duration': 2.061}, {'end': 955.164, 'text': "so now let's try to run this one.", 'start': 946.319, 'duration': 8.845}], 'summary': 'Discussion about odd numbers and code execution.', 'duration': 26.793, 'max_score': 928.371, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/McojvctVsUs/pics/McojvctVsUs928371.jpg'}], 'start': 603.664, 'title': 'Array processing in c++', 'summary': 'Covers the usage of array, for loop, if-else statements to determine even and odd elements, and demonstrates array processing and looping in c++, illustrated through practical examples in vs code.', 'chapters': [{'end': 696.558, 'start': 603.664, 'title': 'Using array and loops in c++', 'summary': 'Discusses using array, for loop, and if-else statements to find the number of even and odd elements in an array in c++, demonstrated through an example in vs code.', 'duration': 92.894, 'highlights': ['The chapter demonstrates an example in VS code to find the number of even and odd elements in an array using array, for loop, and if-else statements.', "The example involves declaring an array 'arr' with elements: 2, 7, 12, and 9.", 'Explanation of the concepts of using array, for loop, and if-else statements is provided before moving to the example in VS code.']}, {'end': 1217.718, 'start': 696.558, 'title': 'Array processing in c++', 'summary': 'Explains the initialization of variables, finding the size of an array, using for loop and if-else condition to identify even and odd elements, and demonstrates a while loop to print elements from 1 to 20 in c++.', 'duration': 521.16, 'highlights': ['The chapter explains the initialization of variables, finding the size of an array, using for loop and if-else condition to identify even and odd elements, and demonstrates a while loop to print elements from 1 to 20 in C++. variables initialization, array size calculation, even and odd element identification, while loop demonstration', 'The array has five integers, making the size of the array 20 bytes, and the length of the array is calculated as 5. array size: 20 bytes, array length: 5', 'The chapter includes a demonstration of a while loop to print elements from 1 to 20 using a function in C++. while loop demonstration, printed elements from 1 to 20']}], 'duration': 614.054, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/McojvctVsUs/pics/McojvctVsUs603664.jpg', 'highlights': ['The chapter demonstrates an example in VS code to find the number of even and odd elements in an array using array, for loop, and if-else statements.', 'The chapter explains the initialization of variables, finding the size of an array, using for loop and if-else condition to identify even and odd elements, and demonstrates a while loop to print elements from 1 to 20 in C++.']}, {'end': 1587.208, 'segs': [{'end': 1252.594, 'src': 'embed', 'start': 1218.258, 'weight': 0, 'content': [{'end': 1226.04, 'text': 'And after that we have used increment operator so that the value of i gets updated after every single iteration.', 'start': 1218.258, 'duration': 7.782}, {'end': 1228.34, 'text': 'So this is the output.', 'start': 1227.3, 'duration': 1.04}, {'end': 1230.92, 'text': "So now let's move on to the next example.", 'start': 1228.66, 'duration': 2.26}, {'end': 1247.832, 'text': "So let's make a new file and name it as basic3.cpp So here we will do an example of string and we'll do some pushback and pullback operation on it.", 'start': 1232.321, 'duration': 15.511}, {'end': 1252.594, 'text': "So first of all, we'll include the header file as include our stream.", 'start': 1248.573, 'duration': 4.021}], 'summary': 'Demonstrated use of increment operator and string operations in c++.', 'duration': 34.336, 'max_score': 1218.258, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/McojvctVsUs/pics/McojvctVsUs1218258.jpg'}, {'end': 1437.531, 'src': 'embed', 'start': 1382.188, 'weight': 2, 'content': [{'end': 1393.83, 'text': "So we'll write y inside the bracket as dot pushback and inside the bracket with single quotes we'll write y.", 'start': 1382.188, 'duration': 11.642}, {'end': 1420.56, 'text': "Now we'll display a message saying after after using pushback function, we'll print the string, that is, after using the function pushback.", 'start': 1393.83, 'duration': 26.73}, {'end': 1433.289, 'text': "the string would look like this and now we'll use another function as dot pop back.", 'start': 1420.56, 'duration': 12.729}, {'end': 1437.531, 'text': 'it will delete the element from the end.', 'start': 1433.289, 'duration': 4.242}], 'summary': 'Demonstrating array manipulation using pushback and popback functions.', 'duration': 55.343, 'max_score': 1382.188, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/McojvctVsUs/pics/McojvctVsUs1382188.jpg'}, {'end': 1587.208, 'src': 'embed', 'start': 1530.615, 'weight': 3, 'content': [{'end': 1538.573, 'text': 'So this is our output and These were some basics examples of C++ basics.', 'start': 1530.615, 'duration': 7.958}, {'end': 1545.774, 'text': 'It includes the examples of array for loop if else and functions strings we have covered.', 'start': 1538.753, 'duration': 7.021}, {'end': 1550.035, 'text': 'And there are some more examples on each of these topics.', 'start': 1546.994, 'duration': 3.041}, {'end': 1552.795, 'text': 'So I suggest you to please practice them all.', 'start': 1550.135, 'duration': 2.66}, {'end': 1558.576, 'text': 'And that is how you will get a good understanding on all of these topics.', 'start': 1553.535, 'duration': 5.041}, {'end': 1562.377, 'text': 'So you can try some more examples on it.', 'start': 1559.296, 'duration': 3.081}, {'end': 1566.704, 'text': 'And all right, guys, with that, we have come to the end of this video.', 'start': 1563.923, 'duration': 2.781}, {'end': 1569.044, 'text': 'If you like this video, please give it a thumbs up.', 'start': 1567.264, 'duration': 1.78}, {'end': 1570.724, 'text': 'I hope it really helped you all.', 'start': 1569.544, 'duration': 1.18}, {'end': 1572.125, 'text': 'Thanks for watching.', 'start': 1571.465, 'duration': 0.66}, {'end': 1573.785, 'text': 'Stay safe and keep learning.', 'start': 1572.425, 'duration': 1.36}, {'end': 1578.886, 'text': 'Hi there.', 'start': 1578.506, 'duration': 0.38}, {'end': 1584.927, 'text': 'If you like this video, subscribe to the Simply Learn YouTube channel and click here to watch similar videos.', 'start': 1579.026, 'duration': 5.901}, {'end': 1587.208, 'text': 'To nerd up and get certified, click here.', 'start': 1585.228, 'duration': 1.98}], 'summary': 'C++ basics covered: arrays, loops, if else, functions, strings. practice for better understanding.', 'duration': 56.593, 'max_score': 1530.615, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/McojvctVsUs/pics/McojvctVsUs1530615.jpg'}], 'start': 1218.258, 'title': 'C++ string and basic operations', 'summary': 'Demonstrates string operations in c++ including input, pushback, and popback functions. it also covers basic examples of arrays, for loop, if-else, functions, and strings in c++. practice more examples for better understanding.', 'chapters': [{'end': 1529.454, 'start': 1218.258, 'title': 'String operations in c++', 'summary': 'Demonstrates string operations in c++, including input, pushback, and popback functions, with an example of adding and deleting elements from a string.', 'duration': 311.196, 'highlights': ['The chapter demonstrates the use of string operations in C++, including input with getline, pushback to add an element at the end of the string, and popback to delete an element from the end.', "The example includes adding the element 'Y' to the string using pushback and then displaying the string, followed by using popback to delete the added element and displaying the modified string.", 'The chapter provides a clear demonstration of using string operations in C++ by adding and deleting elements from a string, enhancing understanding of these functions.']}, {'end': 1587.208, 'start': 1530.615, 'title': 'C++ basics examples and practice', 'summary': 'Covers basic examples of arrays, for loop, if-else, functions, and strings in c++, with a suggestion to practice more examples for better understanding.', 'duration': 56.593, 'highlights': ['The chapter includes examples of arrays, for loop, if-else, functions, and strings, emphasizing the importance of practicing them for better understanding.', 'The video concludes with a call to action, asking viewers to like and subscribe, while also encouraging them to practice more examples for better learning.', 'The speaker encourages viewers to practice more examples on the covered topics to gain a good understanding, emphasizing the importance of practice for learning.', 'The speaker signs off with a message of thanks, safety wishes, and an encouragement to keep learning, creating a positive and supportive conclusion for the video.']}], 'duration': 368.95, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/McojvctVsUs/pics/McojvctVsUs1218258.jpg', 'highlights': ['The chapter demonstrates the use of string operations in C++, including input with getline, pushback to add an element at the end of the string, and popback to delete an element from the end.', 'The chapter provides a clear demonstration of using string operations in C++ by adding and deleting elements from a string, enhancing understanding of these functions.', "The example includes adding the element 'Y' to the string using pushback and then displaying the string, followed by using popback to delete the added element and displaying the modified string.", 'The chapter includes examples of arrays, for loop, if-else, functions, and strings, emphasizing the importance of practicing them for better understanding.', 'The speaker encourages viewers to practice more examples on the covered topics to gain a good understanding, emphasizing the importance of practice for learning.', 'The video concludes with a call to action, asking viewers to like and subscribe, while also encouraging them to practice more examples for better learning.']}], 'highlights': ['C++ is a popular programming language introduced by John Stroustrup in the year 1979. It showcases the historical background of C++, providing context for its significance.', 'C++ supports the features of object-oriented language like encapsulation, inheritance, polymorphism, etc. Details the object-oriented features of C++, indicating its versatility and applicability.', "The first program for beginners is Hello World program, where 'Hello World' is printed. Introduces the first program in C++, emphasizing its simplicity and fundamental nature.", "The main function is a special function from where the execution of the program starts, and it includes printing 'hello world' using the 'cout' function and returning zero to indicate successful execution.", "Header files, such as 'iostream', are used to import features into the program, and they define functions like 'cin' for input and 'cout' for output.", "The 'namespace standard' is used to indicate that all the things within the standard library are being utilized in the program.", 'Arrays store multiple values of the same data type in a single variable.', 'Boolean data type in C++ is used for conditions, with values of true or false.', 'Variables in C++ store values, defined by data type followed by variable name.', 'If else statements in C++ execute code based on certain conditions.', 'Strings in C++ represent text and can undergo multiple operations for manipulation.', 'Chapter covers execution of code based on conditions, repetition using loops, and usage of functions in C++.', 'For loop in C++ repeats a block of code for a fixed number of times.', 'While loops in C++ repeat statements till the given condition is true.', 'Functions in C++ perform specific tasks and allow code reusability by invoking the function.', 'The chapter demonstrates an example in VS code to find the number of even and odd elements in an array using array, for loop, and if-else statements.', 'The chapter explains the initialization of variables, finding the size of an array, using for loop and if-else condition to identify even and odd elements, and demonstrates a while loop to print elements from 1 to 20 in C++.', 'The chapter demonstrates the use of string operations in C++, including input with getline, pushback to add an element at the end of the string, and popback to delete an element from the end.', 'The chapter provides a clear demonstration of using string operations in C++ by adding and deleting elements from a string, enhancing understanding of these functions.', "The example includes adding the element 'Y' to the string using pushback and then displaying the string, followed by using popback to delete the added element and displaying the modified string.", 'The chapter includes examples of arrays, for loop, if-else, functions, and strings, emphasizing the importance of practicing them for better understanding.', 'The speaker encourages viewers to practice more examples on the covered topics to gain a good understanding, emphasizing the importance of practice for learning.', 'The video concludes with a call to action, asking viewers to like and subscribe, while also encouraging them to practice more examples for better learning.']}