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 Embarcadero C++Builder.
    Design. Code. Compile. Deploy.

    Start Free Trial

    Free C++Builder Community Edition
  • 2020 Top 5 Market Trends Impacting Software Development CompaniesDownload Now!
  • RSS Newest questions tagged c++builder – Stack Overflow

    • C++Builder - linker errors with shellctrls when compiling with Clang [duplicate]
    • How to use Pjsip library in Embarcadero C++Builder
    • Why does my VCL form created inside a DLL disappear when minimised
  • RSS Newest questions tagged c++ – Stack Overflow

    • Linker error with self compiled GCC 15.2.0 trying to use std::stacktrace
    • Can I specify eof as the delimiter in std::getline?
    • How to configure VSCodes C++ extension environment correctly
  • RSS Newest questions tagged windows – Stack Overflow

    • "open file location" gives an error message in windows [closed]
    • laravel tinker on windows [closed]
    • How do I change the displayed path names of my SSH servers in VS Code? [closed]
  • 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