Aditya Chatterjee's Blog, page 54
February 11, 2023
Calendar Application in Java
In this article, we will develop a calendar console application which generates the calendar for the present year and it can generate calendar for year that we need. It will be implemented in JAVA.
This article will guide you through the process of creating a simple calendar application in Java. The article will cover the basics of working with the Calendar class, how to format the output, and how to highlight the current date.
Audience: This article is intended for beginner to intermediate Java...
Introduction to Backend Development
In this article, we will discuss briefly what Backend Development is all about, Backend Development tools and technologies.
Every website on the internet can be split up into two parts, The Frontend and the Backend.
The Frontend is the visual and fancy stuff you can see on a website like photos, colors and all the visual stuff you can actually see, And the Backend doesn't really look that cool as the Frontend but it plays a vital role to actually show you the web application you see.
Let's take ...
Different Python Web Frameworks
In this article, we have present the different web frameworks available in Python Programming Language and explained the strength and weakness of each along with the use-cases. This will help you to judge which Python Web Framework to use in your project.
Table of contents:
Introduction to Web FrameworksFull Stack Frameworks in PythonMicro Frameworks in PythonIntroduction to Web FrameworksA web framework is a collection of modules or packages that allows developers write web applications f...
Array of objects in C++
In this article, we have explored how to create array of user-defined objects in C++ Programming Language. We have covered 3 different approaches with complete C++ code.
Table of contents:
Array of objects in C++C++ exampleC++ example with new operatorC++ example with mallocPre-requisites:
Array in C++User-defined Objects in C++Array of objects in C++In C++, an array of objects is a collection of objects of the same class type that are stored in contiguous memory locations. Since each...
Progress Bar with JavaScript
In this article, I will walk you through how I created a simple progress bar with JavaScript.
Table of contents:
The prototype of Progress BarHTML codeCSSJavaScript codeThe prototype of Progress Bar
This is how the prototype looks when it's in action. It's built with HTML, CSS, and JavaScript.
By default, the progress bar is empty (it has 0% of progress) and once we click the "run progress" button, the progress runs until it reaches the end which is 100%.
I also added an input field where...
Minesweeper Game in Java
In this article, we will develop Minesweeper Game in Java Programming Language. We will analyze the requirements of the game, design a solution and implement it in Java. This is a strong project for SDE portfolio.
We'll discuss:
IntroductionGame LogicFlow of codeImplementation in JavaOutputFuture ImprovementsConclusionIntroduction
Minesweeper is a classic puzzle game that has been enjoyed by millions of people all over the world. The objective of the game is to uncover all the cells o...
7 Business Tips for Programmers
As a programmer, you have a niche set of skills that are well crafted and suit a particular need in the business arena. There are lots of avenues to explore as a programmer whether that is freelance contracts or offering your experience to a company as an employee. Wherever this career path and knowledge base leads, it has to be the best fit for your personal preferences to optimize the work-life balance and general well-being. This guide has seven business tips for programmers to explore that ...
February 10, 2023
std::thread vs pthread
In this article, we have explained the concept behind the two popular multi-threading library in C and C namely pthread and std::thread and covered the differences between them in depth.
Table of contentsDefinitionsstd::threadpthreadDifferences table (std::thread vs pthread)1. DefinitionsA thread of execution or simply a thread is a set of instructions that can be run in parallel and independenly of each other while sharing the same resource.
Ex. having a variable count we can achive c...
February 9, 2023
Snake Game using C++ & SFML
In this article, we'll dive into, a journey of mine, where I built a classic snake game. In this journey we will be building a Classic Snake Game through which we will learn how to build a game with boundaries, a growing snake, and food that the snake can eat. This game will be challenging and exciting to play, and by the end of this article, you'll have a clear understanding of how it was created. Get ready to embark on an amazing journey of coding and gaming!
Table of Contents
OverviewFeatur...February 7, 2023
Read and Write in CSV File in C++
In this article, we have explored how to read and write from a CSV file in C++ Programming Language. We have illustrated the process using C++ code examples.
Contents
CSVWhy CSV File is used?Write in CSV FileExample of writing data to a CSV FileRead in CSV FileExample of Reading data from a CSV FileOptimize the performance of reading and writing large CSV fileshandling errors and exceptions when reading or writing to a CSV file1.What is CSV?CSV stands for Comma Separated Values.
CSV i...