| by Arround The Web

Generating Random Numbers in Some Range in C++

rand() and srand() functions are used to generate random numbers in C++ language. Follow this guide for more help.

Read More
| by Arround The Web

How to Use fread() Function of C Language

The fread() is a C programming function that allows users to read a specific amount of data from a given file and stores the data information in a buffer or array.

Read More
| by Arround The Web

Floating Point Exception C++ Why and what is it?

This article talks about the floating-point exceptions and the reasons for their occurrence in C++ Language.

Read More
| by Arround The Web

Fastest Way to Check if a File Exists Using Standard C++

There are different methods to check a file existence in C++, which are stat, std and fopen. Follow this article for further guidance.

Read More
| by Arround The Web

Echo without Newline Character in Bash

To use echo without newline character in bash there are three ways: using -n option, using -e option with escape sequence and using tr command.

Read More
| by Arround The Web

Comparing Linux Mint and Fedora: Which One Should You Use

Linux Mint is Debian/Ubuntu based distro while Fedora is Red Hat. This article presents a complete guide about comparison of these two distributions.

Read More
| by Arround The Web

C Relational and Equality Operators

Relational and Equality Operators are C operators used to compare two values as they determine the relation between them. Find more detail in this guide.

Read More
| by Arround The Web

Bash exit 1 and exit 0 – What’s the Difference?

The exit(1) means that the command was not executed successfully whereas exit (0) shows that command executed successfully.

Read More
| by Arround The Web

How to Create a Directory Using Java

A directory in Java can be created in Java using the combined “File” object and “mkdir()” method or the “Files.createDirectories()” method.

Read More
| by Arround The Web

How to Disable APT Cache in Debian

Disabling the apt cache in Debian allows users to free up the disk space on the system. Follow this article to disable it on Debian.

Read More
| by Arround The Web

How to Disable the sudo Password in Linux Mint 21

To disable the sudo password in Linux Mint 21 the visudo file needs to be modified. Find a complete guide to disable sudo password in this tutorial.

Read More
| by Arround The Web

How to Check the OpenSSL Version Number in Linux

To check the OpenSSL version in Linux there are three commands: openssl version, openssl version -a and apt show openssl.

Read More
| by Arround The Web

How to Check if a String is a Palindrome in Java

To check if a string is a “palindrome” in Java, apply the “for” loop in combination with the “charAt()” and the “equals()” methods.

Read More
| by Arround The Web

How to Change Background of Linux Mint 21

There are different methods to change the background of Linux Mint: Through Linux Mint default backgrounds, through Files, and through terminal.

Read More
| by Arround The Web

How to Call a C function in Python

ctypes is a Python library that allows users to call a C function inside a Python program. Follow this article’s guidelines for help.

Read More
| by Arround The Web

How to Backup and Restore Terminal History in Raspberry Pi

Backing up and restoring Pi’s Terminal history can be done by using the history command. Follow this article for more details.

Read More
| by Arround The Web

How to Assign Output of a Linux Command to a Variable – bash

To assign output of a Linux command to a variable in bash there are two ways one is through backticks and other is through command substitution.

Read More
| by Arround The Web

How to Add Arduino Libraries in Arduino Web Editor

The Arduino Web Editor supports the use of Arduino libraries. Using the import library option, we can upload any library in zip format. Read more here.

Read More
| by Arround The Web

How to List All Running Services Under Systemd in Linux

The systemctl is the systemd command for controlling the Linux Services. This tutorial is a guide on how to list all running services under systemd in Linux.

Read More
| by Arround The Web

How to Install RubyGems on Debian

RubyGems is an open-source package manager for Ruby. Follow this guide to install it on Debian

Read More