python

How to convert a set to tuple in Python

Python program to convert a set to tuple. Learn how to convert set to tuple with an example python program.

Read
python

How to copy a directory recursively in Python

Python program to copy a directory recursively. This program will use shutil package to copy a directory recursively in python.

Read
python

Python conver integer to hexadecimal using hex()

Python hex() method is used to convert an integer value to hexadecimal. Learn how to use hex() method in Python with example.

Read
python

How to do floor division in python

Floor division returns the largest number which is less than or equal to the division result. This post will show you how to use floor division in python.

Read
C++

C++ example program to move a block of memory

C++ program to move a block of memory. We will use memmove method in this post. memmove is defined in cstring and it is used to move memory block in c++.

Read
C++

C++ program to merge two arrays into one array

C++ program to merge two arrays into one single array. This program will take the sizes and array values from the user and merge them.

Read
C++

C++ program to copy from one array to another using memcpy

C++ program to copy contents from one array to another array using memcpy function. Learn how memcpy works with example.

Read
C++

C++ program to locate a character in a string using strpbrk

C++ program to locate a character in a string using strpbrk. strpbrk is defined in cstring header. This method can be used to locate a character in a string in C++.

Read
C++

C++ program to compare two strings using memcmp

C++ program to compare two strings using memcmp. memcmp is defined in ctype header file. We can use it with c type strings.

Read
C++

How to append characters from a string to another string in C++

C++ program to append characters from a string to another string. This program will use cstring or c type string or character array.

Read