Articles on Trending Technologies

Technical articles with clear explanations and examples

Cloud Engineer: Job Description and Salaries

Shubham Vora
Shubham Vora
Updated on 20-Oct-2022 310 Views

In recent years, most IT departments in different organizations have started implementing cloud infrastructure for managing their data. Defining your career as a Cloud Engineer can be the right move as the demand is set to go higher in the next few years. These professionals primarily audit & analyzes present IT infrastructure, identify the functions that require migration and thus manage it accordingly. What are the skills a cloud engineer must have? Cloud engineers have several sub-categories; hence they require a precise or maybe a few distinctive sets of skills to expertise their title. Some of the must-have skills for ...

Read More

Working with AWS Amazon Polly Text-to-Speech (TTS) Service

Shubham Vora
Shubham Vora
Updated on 20-Oct-2022 523 Views

Do you desire a real voice for your content? The best deal for you is the Amazon Polly TTS Service. Here is your comprehensive guide on working with the AWS Amazon Polly Text-to-Speech (TTS) Service, if you want to learn more about the topic. The leading text-to-speech solution is AWS Amazon Polly, which makes the information more captivating for the intended audience. This cloud-based tool provides a wide range of languages and lifelike voice selections. With Amazon Polly, you can build your business application that customers can access from different locations, in various languages, and with the most appropriate lifelike ...

Read More

C++ Program to pass a string to the function

Arnab Chakraborty
Arnab Chakraborty
Updated on 19-Oct-2022 23K+ Views

Any programming language that uses functions has code that is simpler, more modular, and simpler to change while being debugged. Functions are a remarkably beneficial component in a modular piece of code. A function can take arguments and perform certain operations on them. Like other primitive datatypes, we can also pass object types or arrays as an argument. In this article, we will see how to pass string-type data as a function argument in C++. Passing C++ like string argument to a function C++ supports stronger string objects which is actually a class with different member functions associated with them. ...

Read More

C++ Program to Convert Vector to a List

Arnab Chakraborty
Arnab Chakraborty
Updated on 19-Oct-2022 3K+ Views

Vectors in C++ are dynamic arrays that can contain any type of data, it can be user-defined or primitive. Dynamic is in the sense that the size of a vector can increase or decrease according to the operations. Vectors have support for various functions, for which data manipulation is very easy. Lists on the other hand are containers same as vectors, but list implementation is based on doubly linked lists compared to the array implementation of vectors. Lists offer the same constant time operations anywhere in it, that is the main feature of using lists. We take a look at ...

Read More

C++ Program to Convert Array to Set (Hashset)

Arnab Chakraborty
Arnab Chakraborty
Updated on 19-Oct-2022 6K+ Views

The array is a data structure that is available in C++ and is used to hold a sequential collection of elements of the same type. An array has a size that is fixed, but can be expanded or shrank if needed. It is important to think of an array as a collection of variables of the same type even though it is used to store a collection of data. Sets, or in this case unordered sets are a container that stores elements of a particular datatype in any order. A hash table is used to implement an unordered_set where keys ...

Read More

C++ Program to convert primitive types to objects

Arnab Chakraborty
Arnab Chakraborty
Updated on 19-Oct-2022 1K+ Views

Primitive datatypes in C++ are datatypes that are predefined in the language itself; like int, float, double, etc. Objects are instances of a class, and C++ being an object-oriented language, conversion between primitive data types and objects is necessary. A class serves as a data type's architectural plan. Although this doesn't describe any data specifically, it does specify what the class name signifies, i.e., what an object of the class will look like and what operations may be carried out on it. Conversion between a primitive data type to an object is not defined explicitly in the C++ language compilers, ...

Read More

C++ Program to convert double type Variables into int

Arnab Chakraborty
Arnab Chakraborty
Updated on 19-Oct-2022 3K+ Views

In C++, variables of the int type can only hold positive or negative integer values; they cannot hold fractional values. There are float and double values available for this purpose. In order to store fractional numbers with up to seven digits after the decimal point, double datatype was created. Integer to double datatype conversion can either be done automatically by the compiler (known as "implicit" conversion) or explicitly requested by the programmer to the compiler (known as "explicit" conversion). In the sections that follow, we go over the various conversion methods. Implicit Conversion The compiler does implicit type conversions automatically. ...

Read More

C++ Program to convert int Variables into double

Arnab Chakraborty
Arnab Chakraborty
Updated on 19-Oct-2022 13K+ Views

Int type variables in C++ are used to contain positive or negarive integer values, but this type is unable to contain fractional values. For that, there are float and double values. Double datatype is specifically designed to hold fractional values upto seven digits after the decimal point. Conversion between integer and double variables can be automatically handled by the compiler, known as ‘implicit’ conversion or can be explicitly triggered by the programmer to the compiler. We discuss the different ways of conversion in the following sections. Implicit Conversion Implicit type conversions are done automatically by the compiler. For this to ...

Read More

C++ Program to Convert int Type Variables into String

Arnab Chakraborty
Arnab Chakraborty
Updated on 19-Oct-2022 884 Views

Integer type variables in C++ are able to store positive or negative integer values upto a predefined range. String variables can store a sequence of alphabets, numerals, and special characters. There are many use cases where the conversion from int to string is needed. We discuss 3 different methods to convert an integer variable into a string. If we discuss the algorithm, it is pretty straightforward. We take input in an integer variable and then convert it into a string variable. Using to_string function The easiest way in C++ to convert an integer value to a string is using the ...

Read More

C++ Program to convert Boolean Variables into String

Arnab Chakraborty
Arnab Chakraborty
Updated on 19-Oct-2022 4K+ Views

Boolean variables in C++ can contain only two distinct values, ‘true’ or ‘false’. If we translate these values to string, ‘true’ will be mapped to ‘1’ and ‘false’ will be mapped to ‘0’. Boolean values are mainly used to check if a condition in a program has been met or not. There aren’t direct conversions from Boolean to string like we have seen in conversions from int to long and float to double. But there are needs to translate a Boolean value to string, and we explore different ways to convert a binary Boolean value to a string value. Using ...

Read More
Showing 42781–42790 of 61,297 articles
Advertisements