C++ String and C Strings

Поділитися
Вставка
  • Опубліковано 7 лют 2025
  • Strings in C++ and C Strings. In this video, you will learn about the difference between a C++ String and a C String. In addition, you will learn about how strings in C++ are different from strings in python or java. You will also learn the various methods used to add and remove characters from a string.
    C++ Playlist:
    • C++ Tutorial
    Install C++ with VS Code:
    • How to set up C++ in V...
    Subscribe for more coding tutorials 😄!

КОМЕНТАРІ • 5

  • @reignz7774
    @reignz7774 9 місяців тому +4

    I love you Kenny

  • @Overlord_4900
    @Overlord_4900 5 місяців тому

    Hello sorry to ask but my must we use the std qualifiers

    • @KennyYipCoding
      @KennyYipCoding  5 місяців тому +3

      For beginners new to c++, it is okay to do “using namespace std” since the focus is learning the concepts, and having to type std:: every time is tedious. However when you work on much bigger projects with more code, there’s a chance of naming conflicts. Two functions from different libraries and modules can have the same name, so you would use the qualifiers to distinguish where the function is coming from. In my later videos I go over some examples where the naming conflicts can occur. Once I start my next series which is object oriented programming in c++, we will stop using namespace std.