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

Browsing tag

erase()

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

3 Ways To Remove Characters From WString In A Modern C++ App

By Yilmaz Yoru
June 10, 2022
How can I remove a character from a wide string in my C++ app? How can I use pop_back() method in wide strings? Can I use erase() and resize() methods in std::wstring to remove characters? Modern C++ usesWide StringsandUnicode Stringsto supportworldwide languages.Wide Strings (std::wstring)useswcha_tras the character type which means they…
Read more
C++C++11C++14C++17Introduction to C++Learn C++

What Is The Erase WString Method In A Modern C++ App

By Yilmaz Yoru
May 13, 2022
How can I use erase() method of std::wstring? How can I erase part of a wide string? Here are the answers with modern C++ app examples. Generally, as an introduction to C++, in addition to int, float, double, string there is another data type called wide string that we…
C++C++11C++14C++17Introduction to C++Learn C++

How To Erase/Delete Part Of A String In C++ Software

By Yilmaz Yoru
April 15, 2022
How can I use erase() method of std::string? How can I erase part of a string in my C++ software? Here are the answers with C++ examples. Generally, as an introduction to C++, in addition to int, float, double there is another data type called string that we use for…
  • Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
    Design. Code. Compile. Deploy.
    Start Free Trial

    Free C++Builder Community Edition
  • 2020 Top 5 Market Trends Impacting Software Development CompaniesDownload Now!
  • Categories

    Artificial Intelligence Tech32C96C++852C++11362C++14379C++17480C++20140C++231Code Snippet26Components55Database20Game Development33Generic Programming15Introduction to C++395Iterators23Language Feature228Learn C++853Numerics3Syntax126Templates33Videos90
  • Never miss news

  • Popular posts

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

      How To Set Up Dev-C++ For Your First Project

      By Learn C++
      June 15, 2021
    • C++C++11C++14C++17Language FeatureLearn C++

      ASCII Art: Fun Code Spinning Donut In 3D Text Form In C++

      By Yilmaz Yoru
      February 13, 2021
  • RSS Newest questions tagged c++builder – Stack Overflow

    • Unresolved external 'IdnToAscii'
    • Resizing a form C++Builder FMX (Delphi)
    • Using Address Sanitizer (ASAN) with VCL in Embarcadero C++Builder 12.3
  • RSS Unknown Feed

  • RSS Newest questions tagged windows – Stack Overflow

    • WinUI 3 Share Window failing with COMException "This method cannot be called while the app is in the background"
    • Background worker calling a method causes the UI to freeze
    • Why InvalidateRect of the Win32 API doesn't seem to be working?
  • 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
  • Follow us