Reply
Results 1 to 4 of 4
  1. #1
    Registered User johntt1994's Avatar
    Join Date: Feb 2019
    Age: 54
    Posts: 816
    Rep Power: 3180
    johntt1994 is a glorious beacon of knowledge. (+2500) johntt1994 is a glorious beacon of knowledge. (+2500) johntt1994 is a glorious beacon of knowledge. (+2500) johntt1994 is a glorious beacon of knowledge. (+2500) johntt1994 is a glorious beacon of knowledge. (+2500) johntt1994 is a glorious beacon of knowledge. (+2500) johntt1994 is a glorious beacon of knowledge. (+2500) johntt1994 is a glorious beacon of knowledge. (+2500) johntt1994 is a glorious beacon of knowledge. (+2500) johntt1994 is a glorious beacon of knowledge. (+2500) johntt1994 is a glorious beacon of knowledge. (+2500)
    johntt1994 is offline

    I Typed All The Subtitles For the "C++ in 100 Seconds" Video

    Most video games are made in C++

    I think I learn better when I'm reading out loud, instead of just reading or listening to something. Im trying to learn C++ so i typed all the subtitles of the video below so i can speak it outloud, and i just wanted to share it.

    There was already auto-generated subtitles on the video, but I prefer to read at my own pace, and not quickly read the subtitles.

    Also, the video is almost 3 minutes long, im not 100% sure why its titled "in 100 seconds", but i still enjoyed the video regardless


    https://youtu.be/MNeX4EGtR5Y?si=ZU174MI_-IbcSOM6

    C++ a statically typed compiled programming language famous for its widespread use and software infrastructure and infamous for its steep learning curve it was created in 1979 by Bjarne Stroustrup at attnt bell labs he was inspired by the object-oriented nature of simula but needed a language with a high performance of c and thus c with classes was born its designed as a super set of c which means that virtually any c program is also a valid c++ program but it also adds zero overhead abstractions such as object orientated patterns like polymorphism, encapsulation and inheritance today its used in a wide variety of systems with constrained memory demands like the unreal engine for AAA video games programs like adobe after effects that were used to edit this video databases like mysql and mongodb embedded systems like the display on your smart toaster and is used to implement much or our low-level infrastructure like language compilers and virtual machines its so popular because it provides low-level memory and hardware control like c but with high level abstractions like classes and smart pointers c++ makes it harder to shoot yourself in the foot but when you do it'll blow your whole leg off

    To get started install a c++ compiler like gcc or clang then create a file ending in cpp include io stream from the standard library to handle input and output your code will start executing from the main function to print hello world we simply use standard character output followed by the bitwise shift left operator and a string literal we can get rid of this std though by adding a name-space to the top of the file now if we want to create a string variable we can do so by typing it as an array of characters however if we include string from the standard library we can use the string type instead the real game changer though is the fact c++ supports object-oriented programming with classes a class is just a blueprint for an object inside a class you can define attributes and methods that will be private by default or make them public by adding them under the public specifier its also possible to define methods outside the class definition using a double colon methods can also be defined multiple times with different parameters which is known as overloading and is a form of polymorphism in addition we can define constructors and destructors to run code when an object is created or destroyed classes also support inheritance allowing developers to more efficiently share logic throughout a program to instantiate an object type the class name followed by the name of your object and optionally any parameters for the constructor when it comes to memory we could manage everything manually with pointers and references however tools like unique pointer can get the job done in a way that's easier and safer by ensuring that only one object can be allocated to memory now to run your code open up the terminal and use a tool like clang plus plus to compile it.

    This has been c++ in 100 seconds hit the like button and subscribe if you want to see more short videos like this thanks for watching and I will see you in the next one
    Reply With Quote

  2. #2
    High Calorie Human MiscMathematician's Avatar
    Join Date: May 2006
    Posts: 3,518
    Rep Power: 192536
    MiscMathematician has a reputation beyond repute. Second best rank possible! (+100000) MiscMathematician has a reputation beyond repute. Second best rank possible! (+100000) MiscMathematician has a reputation beyond repute. Second best rank possible! (+100000) MiscMathematician has a reputation beyond repute. Second best rank possible! (+100000) MiscMathematician has a reputation beyond repute. Second best rank possible! (+100000) MiscMathematician has a reputation beyond repute. Second best rank possible! (+100000) MiscMathematician has a reputation beyond repute. Second best rank possible! (+100000) MiscMathematician has a reputation beyond repute. Second best rank possible! (+100000) MiscMathematician has a reputation beyond repute. Second best rank possible! (+100000) MiscMathematician has a reputation beyond repute. Second best rank possible! (+100000) MiscMathematician has a reputation beyond repute. Second best rank possible! (+100000)
    MiscMathematician is offline
    and why did you do that
    take care misc, it's been fun

    my cat https://forum.bodybuilding.com/showthread.php?t=183726533
    Reply With Quote

  3. #3
    Registered User johntt1994's Avatar
    Join Date: Feb 2019
    Age: 54
    Posts: 816
    Rep Power: 3180
    johntt1994 is a glorious beacon of knowledge. (+2500) johntt1994 is a glorious beacon of knowledge. (+2500) johntt1994 is a glorious beacon of knowledge. (+2500) johntt1994 is a glorious beacon of knowledge. (+2500) johntt1994 is a glorious beacon of knowledge. (+2500) johntt1994 is a glorious beacon of knowledge. (+2500) johntt1994 is a glorious beacon of knowledge. (+2500) johntt1994 is a glorious beacon of knowledge. (+2500) johntt1994 is a glorious beacon of knowledge. (+2500) johntt1994 is a glorious beacon of knowledge. (+2500) johntt1994 is a glorious beacon of knowledge. (+2500)
    johntt1994 is offline
    Originally Posted by MiscMathematician View Post
    and why did you do that
    Because I'm trying to learn C++ and as said before:


    I think I learn better when I'm reading out loud, instead of just reading or listening to something. Im trying to learn C++ so i typed all the subtitles of the video below so i can speak it outloud, and i just wanted to share it.
    Reply With Quote

  4. #4
    High Calorie Human MiscMathematician's Avatar
    Join Date: May 2006
    Posts: 3,518
    Rep Power: 192536
    MiscMathematician has a reputation beyond repute. Second best rank possible! (+100000) MiscMathematician has a reputation beyond repute. Second best rank possible! (+100000) MiscMathematician has a reputation beyond repute. Second best rank possible! (+100000) MiscMathematician has a reputation beyond repute. Second best rank possible! (+100000) MiscMathematician has a reputation beyond repute. Second best rank possible! (+100000) MiscMathematician has a reputation beyond repute. Second best rank possible! (+100000) MiscMathematician has a reputation beyond repute. Second best rank possible! (+100000) MiscMathematician has a reputation beyond repute. Second best rank possible! (+100000) MiscMathematician has a reputation beyond repute. Second best rank possible! (+100000) MiscMathematician has a reputation beyond repute. Second best rank possible! (+100000) MiscMathematician has a reputation beyond repute. Second best rank possible! (+100000)
    MiscMathematician is offline
    Originally Posted by johntt1994 View Post
    Because I'm trying to learn C++ and as said before:


    I think I learn better when I'm reading out loud, instead of just reading or listening to something. Im trying to learn C++ so i typed all the subtitles of the video below so i can speak it outloud, and i just wanted to share it.
    If you want to learn c++, download a very simple .cpp (c++/main) file and any acompanying .h (header) files. and work on modifying it

    your subtitles appear to be some sort of summary that throws words at you like objects, classes and constructors. do you know what these are?
    take care misc, it's been fun

    my cat https://forum.bodybuilding.com/showthread.php?t=183726533
    Reply With Quote

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts