Classes Introduction in C++

https://youtu.be/R9kBfrHKgyE?si=b02PlIi79Zvi7N3g #include <iostream> using namespace std; class MyClass { }; int main() { MyClass m; return 0; }

Operators new and delete in C++

https://youtu.be/H60O0oC0YKA?si=DkMelXXiDFHwsxzk #include <iostream> using namespace std; int main() { int *ptr = new int; *ptr = 100; cout << "The pointed to value is :" << *ptr << endl; delete…

Function Overloading in C++

https://youtu.be/uj03B502sh8 #include <iostream> using namespace std; void myfunc(char charValue); void myfunc(int intValue); void myfunc(double doubleValue); int main() { myfunc('c'); myfunc(12); myfunc(59.60); return 0; } void myfunc(char charValue) { cout <<…

Function Definition in C++

https://youtu.be/vKMzBGUcQfU #include <iostream> using namespace std; void myfunc(int x, int y); int main() { myfunc(2, 5); return 0; } void myfunc(int x, int y) { cout << x + y;…

Function Declaration in C++

https://youtu.be/WS9IabM4Vtw?si=pSq5hHz-tCWLEQf8 #include <iostream> using namespace std; void myfunc(); int myfunc2(int x); int myfunc3(int x, int y); int myfunc4(int, int); int main() { return 0; }

Constants in C++

https://youtu.be/8AHr5AbR9pg #include <iostream> using namespace std; int main() { const int y; const int x = 10; int myArr[x] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};…

String Input in C++

https://youtu.be/8Yk0kDvr5ro?si=lOi9bvpeaVg7n3rP #include <iostream> #include <string> using namespace std; int main() { string str; cout << "Please enter a string: "; getline(cin, str); cout << "You entered: " << str; return…

How to blur an image in Python

https://youtu.be/Fov-2pzeR90?si=ztXtpBj5Ef3E-Mz0 from PIL import Image, ImageFilter cat = Image.open('cat.jpg') blurry_cat = cat.filter(ImageFilter.GaussianBlur) blurry_cat.save('blurr_cat.jpg') blurry_cat.show()