Alternative Operators In C++
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
Thanks for the Ctrl + 0 bonus!
You are welcome !!
I did know that but I only found out 1-2 months agoâŚafter 30 years writing C++!
There's just no end to learning something new in C++.
great video !
Thanks
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
void pointer is pointer without dedicated type, it's always not recommended to use cause you will have cast it to other type anyways
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.
@@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.
Cool!!
Awesome
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 đ
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.
I recomnd you two to buy the Producer Edition (And if you have got money, buy the Full Bundle)
Amused after seeing this alternative even I don't know this before .. like python ....
Actually I didn't know it
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.
Why is everything trying to look like Python all of a sudden?
because these operators are just better
This was there from the beginning in cpp.
Intented to be more human readable?