Author: Aditya Raj
- 16 February
Remove Last Character From String in C++
C++ is one of the most widely used programming languages. While programming in C++, we often come across text data. To represent text data in C++, we use string data type or an array of characters. In this article, we will discuss different ways to remove the last character from a string in C++. We […]
- 01 February
[Fixed] SyntaxError: Unexpected Character After Line Continuation Character
While programming in python, sometimes we need to write very long statements. For better presentation, we often use line continuation character. However, if you don’t use line continuation character correctly, SyntaxError occurs with the message “SyntaxError: unexpected character after line continuation character in python”. In this article, we will discuss the possible cases when this […]
- 01 February
[Fixed] Object of Type int64 Is Not JSON Serializable
JSON objects are used extensively in data transmission or in data interchange between different languages. To transmit data, we often convert the data to JSON objects. After that, we transmit the data. Sometimes, while creating a JSON object, your program might run into the TypeError exception with the message “object of type int64 is not […]
- 30 January
List of Strings in Python
Lists are one of the most used data structures in Python. In this article, we will discuss how to perform different operations on a list of strings in Python. Create a List of Strings in Python To create a list of strings, you can use the square brackets along with the string values as follows. […]
- 19 January
Fill Array With Random Numbers in C++
IN this post, we will see how to fill array with random number in C++. Arrays are the most commonly used data structures in the programming domain. We use arrays to store values of the same data type together at contiguous memory locations. In C++, we can create arrays of different data types in a […]
- 15 January
Convert ASCII to Char in C++
1. Introduction The characters are represented using integers in most of the encoding standards. Therefore, we can convert the characters to the integers and integers to the characters. ASCII stands for American Standard Code for Information Interchange. It is a character encoding scheme that we use to represent characters in computer systems. In the ASCII […]
- 13 January
Check If Input Is Integer In C++
C++ is a powerful and popular programming language and we use it widely in coding applications. It provides us with a number of powerful means to check the input given by users. In this article, we will discuss how we can check whether the input given by users is an integer or not. How to […]
- 12 January
How to Copy File in Python?
Python provides us with many modules and functions to perform file operations. In this article, we will discuss different ways to copy file in python. For this, we will use the os module, shutil module, and subprocess module. We will also discuss advantages and disadvantages for each approach as file operations are costly in terms […]
- 11 January
What is % in Python?
In this article, we will cover what is % in Python and what are different ways to use % in Python. In python, there are different types of operators with which we can perform different operations on any given data. In this article, we will discuss the % operator in python. We will also discuss […]