We are committed to provide service 24 X 7

Deals, Shopping, Training, Tools

Tag: Library

How to trim strings in C++ using Boost String Algorithm Library

In this tutorial we will discuss how to use trim algorithms from C++ Boost String Algorithm Library. Let’s learn them step by step, Boost String algorithm library provides different algorithms for string trimmings. Let’s first discuss the simple one i.e, What if we want to trim the string of white spaces from left side or …

How to trim strings in C++ using Boost String Algorithm LibraryRead More

C++ Date class – Tutorial & Example using Boost Date Time Library

In this example we will discuss how to represent Date as an object in c++ using Boost Library. C++ – Boost Library provides a type to represent date in Georgian Calendar i.e. Advertisements boost::gregorian::date Representing a Date with boost::gregorian::date type Let’s see how to create a Date Object and initialize it with a date 21’s March …

C++ Date class – Tutorial & Example using Boost Date Time LibraryRead More

How to Convert String to Date in C++ using Boost Library

In this article we will discuss how to convert string to date objects in C++ using Boost Date Time Library. Boost Date Time Library provides boost::gregorian::date type for all the calendar date related operations. But many times we encounter scenarios where we need to convert parse date from some text and then convert date in string format …

How to Convert String to Date in C++ using Boost LibraryRead More

Calculate Difference between 2 Dates in C++ using Boost Library

In this article we will discuss how to calculate difference between two dates and how to iterate over a date range using C++ Boost Date Time Library. date_duration Boost Date Time Library provides a duration type to represent the duration between two dates i.e. Advertisements boost::gregorian::date_duration With this date_duration object we can get the duration …

Calculate Difference between 2 Dates in C++ using Boost LibraryRead More

Get Current Date & Time in C++ Example using Boost Date Time Library

In this articlew we will discuss how to get Current Date & Time in C++ using Boost Date Time Library. Boost Date Time Library provides a type, Advertisements boost::posix_time::ptime to specify a particular time point. It includes a date and timestamp representing a specific time point. For example, Frequently Asked: How to Measure Execution Time …

Get Current Date & Time in C++ Example using Boost Date Time LibraryRead More

C++ : Check if given path is a file or directory using Boost & C++17 FileSystem Library

In this article we will discuss different ways to check if given path is of file or directory that exists using Boost Filesystem Library & C++17 Filesystem Library. Both Boost Filesystem library & C++17 Experimental filesystem library provides certain functions that we are going to use here,  Advertisements bool exists(const path& p); In Boost Library’s …

C++ : Check if given path is a file or directory using Boost & C++17 FileSystem LibraryRead More

C++: How to extract file extension from a path string using Boost & C++17 FileSystem Library

In this article we will dicuss different ways to extract extension from a given path string using different technique i.e. C++17 FileSystem Library Boost FileSystem Library C++ STL Suppose given file is, Advertisements /home/user/sample/temp/logs.out It’s extension should be .out. Fetch extension of a given file using Boost Filesystem Library & C++17 Both boost filesystem library …

C++: How to extract file extension from a path string using Boost & C++17 FileSystem LibraryRead More

C++: How to get filename from a path with or without extension | Boost | C++17 FileSytem Library

In this article we will discuss different ways to get filename from a path with or without extension using, Boost Filesystem Library C++17 Filesystem Library Prior to c++11 Days Suppose we have a file path i.e. Advertisements “/home/user/sample/temp/data.csv” We want to fetch file name from this path i.e. “data.csv” and “data” (With or without extension). …

C++: How to get filename from a path with or without extension | Boost | C++17 FileSytem LibraryRead More

C++ : Case-insensitive string comparison using STL | C++11 | Boost Library

In this article we will discuss different ways to Compare strings in case insensitive manner. Suppose we have two strings i.e. Advertisements std::string str1 = “Hi This is SamPle”; std::string str2 = “hi this is sample”; Both the above strings should be equal if we compare them in case insensitive manner. Let’s see how to …

C++ : Case-insensitive string comparison using STL | C++11 | Boost LibraryRead More

CoquiTTS: A Python Library for Text-to-Speech

CoquiTTS is a Python text-to-speech synthesis library. It uses cutting-edge models to transform any text into natural-sounding speech. CoquiTTS can be used to create audio content, improve accessibility, and add voice interactivity to your applications. In this article, you will learn how to install and use CoquiTTS in Python. Table of Contents CoquiTTS: A Powerful …

CoquiTTS: A Python Library for Text-to-SpeechRead More

13
1.691.535,95