Skip to main content

Posts

Beginners Guide to Code

Recent posts

Sign In and Sign Up with C++ (Back-End)

Sign up to the awesomeness of this cool project and get yourself started!

Sign In and Sign Up with Python (Back-End)

Sign up to the awesomeness of this cool project and get yourself started!

Building a Binary Calculator With Object Oriented Programming in Python

Let's begin! Creating a basic calculator is a no biggie! So we are applying the concept of object oriented programming and making this program work until the user ask to end the task, in this calculator we can also intake the value as much as we want without restarting the program! It's one of basis and yet a core project where majority of your programming skills are used! Happy Programming!

Building a Binary Calculator With Object Oriented Programming in C++

Let's begin! Creating a basic calculator is a no biggie! So we are applying the concept of object oriented programming and making this program work until the user ask to end the task, in this calculator we can also intake the value as much as we want without restarting the program! It's one of basis and yet a core project where majority of your programming skills are used! Happy Programming!

Linux Commands

Basic Commands 1. pwd — When you first open the terminal, you are in the home directory of your user. To know which directory you are in, you can use the “pwd” command. It gives us the absolute path, which means the path that starts from the root. The root is the base of the Linux file system. It is denoted by a forward slash( / ). The user directory is usually something like "/home/username". 2. ls — Use the "ls" command to know what files are in the directory you are in. You can see all the hidden files by using the command “ls -a”. 3. cd — Use the "cd" command to go to a directory. For example, if you are in the home folder, and you want to go to the downloads folder, then you can type in “cd Downloads”. Remember, this command is case sensitive, and you have to type in the name of the folder exactly as it is. But there is a problem with these commands. Imagine you have a folder named “Raspberry Pi”. In this case, when you type in “cd Raspberry Pi”, t

Taking Input and Printing the Result in Python

 Let's begin: Python is most beginner friendly program. Here provided the  complete script: