Learn C++
Menu
  • Home
  • Learn C++
    • Language Feature
    • Syntax
    • Code Snippet
    • Videos
  • C++
    • C++11
  • Community
  • Free Licenses

Browsing tag

swap

C++C++11C++14C++17Introduction to C++Learn C++

This Is How To Swap One String With Another In A C++ App

By Yilmaz Yoru
April 12, 2022
How can I swap strings? Can I use swap() method to std::string in the same ways as I can in std::wstring in a C++ App? Generally, in Introduction to C++ lessons, examples are started withstringexamples and end with them, while Modern C++ usesStrings, Wide StringsandUnicode Stringsto supportworldwide languages.Strings…
Read more
C++C++11C++14C++17Introduction to C++Learn C++

How To Swap One Wide String With Another Wide String

By Yilmaz Yoru
July 25, 2021
In this post, you’ll discover how can we swap Wide Strings? Can I apply the swap() method to Wide Strings in the same way that I would to strings?By learning the wide strings & swap () method to wide strings, it will help you build C++ applications with the use of…
  • Reduce development time and get to market faster with Embarcadero C++Builder.
    Design. Code. Compile. Deploy.

    Start Free Trial

    Free C++Builder Community Edition
  • RAD Studio Guide For ManagersDownload Now!
  • RSS Newest questions tagged c++builder – Stack Overflow

    • BRCC32 Error CSApp.vrc(1): invalid line command in the preprocessed source
    • How can I compile an SQLite amalgamation version in C++ Builder CE?
    • Update C++Builder Rio from 10.3.2 to 10.3.3
  • RSS Newest questions tagged c++ – Stack Overflow

    • "Conversion loses qualifiers" error on wrapper for std::erase_if function
    • Derived class User-defined Destructor Error [duplicate]
    • How to develop USB audio driver on Windows [closed]
  • RSS Newest questions tagged windows – Stack Overflow

    • Cannot access the specified file or folder (UNABLE_TO_MASK_PATH). Verify that the item is not marked with system or hidden file attributes
    • How to develop USB audio driver on Windows [closed]
    • How to avoid "Close" button on Windows notification via Electron
  • LearnCPlusPlus.org is a C++ tutorial and learning platform for Windows developers using C++ to build Windows applications. It focuses on tools that allow rapid development and programming of both Win32 and Win64 applications. Additionally, it supports deploying apps to iOS.

    © Copyright 2026 Embarcadero

  • C++ Tools

    • Download C++Builder
    • Download Dev-C++
  • Links

    • Learn Delphi
    • Embarcadero Blogs
    • Python GUI
    • DelphiFeeds