I have been playing around with Docker during the last few days ,and I am quite impressed by its abilities. I am writing this blog to share what I have learnt by trying to dockerize a simple Flask ...
Using Selenium in Python
Today we are going to learn how to automate your browser using Selenium in Python.Today we will go to Youtube search something and store the results as JSON.Scraping Youtube results is not possible...
Web scraping in Python
Today we are going to learn how to scrape a website in python. We will be scraping google to find results and store them as JSON. Requirements For web scraping we would require two libraries: ...
Linked lists
In link list a structure is declared as head and it has a next pointer which points to next item in the list and similarly all items have a next pointer.The next pointer of the last element points ...
Dynamic declaration of structure using pointer
We can dynamically declare sturrcture is C++ using just new and the name of the structure.To access its inner variables we have to use -> instead of . as it is a pointer ,however we can us . wit...
Double pointer
We use double pointer or pointer to a pointer for things like dynamically declaring 2d arrays where we first dynamically declare its rows as 1d arrays and then for each row we declare its columns.T...
Dynamic declaration and Pointer arithematic
Dynamic declaration means that we do not give memory during declaration it gets allocated during execution.This is useful for thins like having an array of user inputted size.We do this using new.W...
Pointers
Pointers in C++ basically store memory locations where a variable is stored.To access its value you can use * behind its name and also to declare them.The name of an array is a constant pointer.An ...
Structures
A structure can hold multiple variables similar to an array but while array can only hold one type of variables, structures can hold many types of variables including arrays.You can access inner el...
Basic Logical Operations
The are 3 basic logical operations in C++ i.e. &&(AND), || (OR) and !(NOT).AND means that if and only if both of the statements are true then the result is true, while OR means that if onl...