Courses
Sale
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.6K+ articles
Python
19.6K+ articles
Experiences
15.8K+ articles
Interview Experiences
14.5K+ articles
C++
3.8K+ articles
C++ Programs
1.5K+ articles
CPP Examples
714+ articles
cpp-string
157+ articles
cpp-strings
59+ articles
C++ Conversion Programs
15 posts
Recent Articles
How to Prevent Implicit Conversions in C++?
Last Updated: 23 July 2025
In C++, implicit conversions are automatic type conversions that are performed by the compiler when a value is used with a compatible type. While they can be useful, they ...
read more
C++
Picked
cpp-operator
C++-Misc C++
C++ Conversion Programs
CPP Examples
How to Convert an Enum to a String in C++?
Last Updated: 23 July 2025
In C, an enumeration is a user-defined data type whose members can be assigned some integer values. In this article, we are going to discuss how to convert an Enum to a St...
read more
C++ Programs
C++
Picked
cpp-string
cpp-map
C++ Conversion Programs
CPP Examples
How to Convert a C++ String to Uppercase?
Last Updated: 23 July 2025
Converting a string to uppercase means changing each character of the string that is in lowercase to an uppercase character. In the article, we will discuss how to convert...
read more
C++ Programs
C++
Picked
cpp-string
C++ Conversion Programs
CPP Examples
Convert Camel Case String to Snake Case in C++
Last Updated: 05 March 2023
Programming can be complicated, and it's essential to ensure that our code is readable and well-structured. One way to improve code clarity is by using meaningful and desc...
read more
C++ Programs
C++
C++ Conversion Programs
C++ Program For Decimal To Binary Conversion
Last Updated: 24 August 2026
A decimal number uses base 10 and digits from 0 to 9, while a binary number uses base 2 and only the digits 0 and 1. The decimal-to-binary conversion can be performed usin...
read more
C++ Programs
C++
C++ Conversion Programs
C++ Program For Binary To Decimal Conversion
Last Updated: 22 August 2026
Binary numbers use only 0 and 1, while decimal numbers use digits from 0 to 9. A binary number can be converted by processing each bit according to its power of 2.C++ also...
read more
C++ Programs
C++
C++ Conversion Programs
C++ Program For Decimal To Hexadecimal Conversion
Last Updated: 25 August 2026
A decimal number uses base 10, while a hexadecimal number uses base 16 with digits 0–9 and A–F, where A–F represent values from 10–15. To convert a decimal number to hexad...
read more
C++ Programs
C++
C++ Conversion Programs
C++ Program For Hexadecimal To Decimal Conversion
Last Updated: 25 August 2026
A hexadecimal number uses base 16 and the digits 0–9 and A–F, where A–F represent values from 10–15. To convert it into decimal, each digit is multiplied by its correspond...
read more
C++ Programs
C++
C++ Conversion Programs
C++ Program For Octal To Decimal Conversion
Last Updated: 25 August 2026
Given an octal number, the task is to convert it into its equivalent decimal value. This can be done manually using powers of 8 or directly using C++'s stoi() function.The...
read more
C++ Programs
C++
C++ Conversion Programs
C++ Program For Decimal To Octal Conversion
Last Updated: 25 August 2026
A decimal number uses base 10, while an octal number uses base 8 and digits from 0 to 7. Repeated division by 8 can be used to convert a decimal number to octal.C++ also ...
read more
C++ Programs
C++
C++ Conversion Programs
How To Convert a Qstring to Hexadecimal in C++?
Last Updated: 28 April 2025
In CPP Qt5 has a QString class for working with strings. It is very powerful and has numerous methods, A Unicode character string is made available via the QString class. ...
read more
Technical Scripter
C++
Picked
Technical Scripter 2022
C++ Conversion Programs
Convert Vector of Characters to String in C++
Last Updated: 23 July 2025
In this article, we will learn different methods to convert the vector of character to string in C++.The most efficient method to convert the vector of characters to strin...
read more
Technical Scripter
C++ Programs
C++
Picked
Technical Scripter 2022
cpp-vector
C++ Conversion Programs
Convert char* to std::string in C++
Last Updated: 23 July 2025
Strings are generally represented as an instance of std::string class in C++. But the language also supports the older C-Style representation where they are represented as...
read more
C++ Programs
C++
cpp-strings
C++ Conversion Programs
C++ Program For Double to String Conversion
Last Updated: 24 August 2026
A double value can be converted into a string when numeric data needs to be stored or processed as text. C++ provides several approaches for this conversion, including to_...
read more
C++ Programs
C++
Picked
C++ Conversion Programs
Convert String to Char Array in C++
Last Updated: 11 January 2025
In C++, we usually represent text data using the std::string object. But in some cases, we may need to convert a std::string to a character array, the traditional C-style ...
read more
C++ Programs
C++
cpp-string
C++ Conversion Programs
CPP Examples
✕