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
  • Discovering the Best Developer Framework
    Download Now!
  • RSS Newest questions tagged c++builder – Stack Overflow

    • Old functions suddenly being loaded from a different Windows DLL (that doesn't exist on Windows 7)
    • TImage image is being truncated
    • Indy IdHTTPWebBrokerBridge linker error in Embarcadero C++Builder 12.1 Community Edition
  • RSS Newest questions tagged c++ – Stack Overflow

    • Why does a nested C++20 coroutine pipeline deadlock only when compiled with Clang + ASan but not with GCC or MSVC?
    • how to build C++ such that it can be called from JS with arguments?
    • How to bubble sort an array?
  • RSS Newest questions tagged windows – Stack Overflow

    • PyCharm keeps using a non-existent Python 3.14 interpreter even after removing it from the system
    • How to run .py script with windows cmd without having python pop up?
    • project-scoped MCP Server not working in Claude Code
  • 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 2025 Embarcadero

  • C++ Tools

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

    • Learn Delphi
    • Embarcadero Blogs
    • Python GUI
    • DelphiFeeds