Alternative Operators In C++

SdĂ­let
VloĹžit
  • čas přidĂĄn 29. 09. 2022
  • JOIN ME
    -----
    CZcams 🎬 / @cppnuts
    Patreon 🚀 / cppnuts
    COMPLETE PLAYLIST
    ------------
    C++ Tutorial For Beginners: • Introduction To C++
    STL (Standard Template Library): • STL In C++
    ThreadIng In C++: • Multithreading In C++
    Data Structures: • Data Structure
    Algorithms: • Binary Search
    Design Patterns: • Factory Design Pattern...
    Smart Pointers: • Smart Pointer In C++
    C++14: • Digit Separator In C++
    C++17: • std string_view in C++...
    C++ All Type Casts: • static_cast In C++
    INTERVIEW PLAYLIST
    ------------
    C++ Interview Q&A: • Structural Padding & P...
    C++ Interview Q&A For Experienced: • How delete[] Knows How...
    Linked List Interview Questions: • Find Kth Node From Bac...
    BST Interview Questions: • Search Element In Bina...
    Array Interview Questions: • Reverse An Array
    String Interview Questions: • Check String Is Palind...
    Bit Manipulation Questions: • Find Set Bit In Intege...
    Binary Tree Interview Question: • Invert Binary Tree
    Sorting Algorithms: • Bubble Sort
    C++ MCQ: • Video
    C MCQ: • What printf returns af...
    C Interview Questions: • Designated Initializat...
    QUICK SHORT VIDEOS
    -------------
    C++ Short : • C++ Short Videos
    C Short : • Shorts C Programming MCQ
    This operator is called alternative operators in C++, they exist in C language also but then you have to include some extra header.
    There so many alternative operators in C++ which we don't use or don't really know that they exist, so i have explained all the alternative operators (tokens) in this video.
    #cpp #programming #tutorial #computerscience

Komentáře • 22

  • @avanisagar6408
    @avanisagar6408 Před rokem +3

    Thanks for the Ctrl + 0 bonus!

    • @CppNuts
      @CppNuts  Před rokem +1

      You are welcome !!

  • @davidmccormack99
    @davidmccormack99 Před 23 dny

    I did know that but I only found out 1-2 months ago…after 30 years writing C++!

  • @joeypencil5368
    @joeypencil5368 Před rokem +1

    There's just no end to learning something new in C++.

  • @himanshurawat6736
    @himanshurawat6736 Před rokem

    great video !

  • @ramakrishna4092
    @ramakrishna4092 Před rokem +2

    Sir I have a doubt in this line could you pls help me to solve this void *(*foo)(int *); had a confusion after seeing * after void what does it mean sir....thank you

    • @adamkurek3324
      @adamkurek3324 Před rokem +2

      void pointer is pointer without dedicated type, it's always not recommended to use cause you will have cast it to other type anyways

    • @wangpixu234
      @wangpixu234 Před rokem +2

      Read it like this : foo is a pointer to a function that takes an integer pointer as an argument and returns a pointer to any data type ( that's void * ) pointer to void can be used to point to any data type.

    • @exinangai2216
      @exinangai2216 Před rokem

      @@wangpixu234 Nice ans. But would it ever compile in c++ 17/20?
      return to (ptr to Void) data sounds ambiguous to compiler. This may raise errors/warnings in compile time.

  • @animeshchoudhury8302
    @animeshchoudhury8302 Před rokem

    Cool!!

  • @leelaseshukumarsanka649
    @leelaseshukumarsanka649 Před rokem

    Awesome

  • @wilrick
    @wilrick Před rokem

    I once ran into compilation issues on a cross platform project when using these. I haven't touched them ever since. Use with care I would say 🙂

    • @CppNuts
      @CppNuts  Před rokem +1

      But it should be, were you using cpp compiler?
      Because they were mainly build for some keyboard but that doesn’t mean it won’t compile.

  • @badepallinarendrareddy8697

    I recomnd you two to buy the Producer Edition (And if you have got money, buy the Full Bundle)

  • @ramakrishna4092
    @ramakrishna4092 Před rokem +2

    Amused after seeing this alternative even I don't know this before .. like python ....

  • @user-me8dk7ds7f
    @user-me8dk7ds7f Před 8 měsĂ­ci

    Actually I didn't know it

  • @__hannibaal__
    @__hannibaal__ Před rokem

    The Theory of Languages is Mathematical idea and founded by mathematician and CS original is mathematic theory of group and category theory, and now changed because CS is separate from mathematic and this is a decline of CS and Languages.

  • @omarious
    @omarious Před rokem

    Why is everything trying to look like Python all of a sudden?

    • @vor946
      @vor946 Před rokem

      because these operators are just better

    • @CppNuts
      @CppNuts  Před rokem

      This was there from the beginning in cpp.

    • @exinangai2216
      @exinangai2216 Před rokem

      Intented to be more human readable?