Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 662397
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T23:22:26+00:00 2026-05-13T23:22:26+00:00

As I am new to Visual C++, there are so many types for handling

  • 0

As I am new to Visual C++, there are so many types for handling string. When I use some type and go ahead with coding but on next step, there are in-build functions that use other types & it always require to convert one type of string to other. I found so many blogs but so confused when see so many answers & try but some are working & some are not.

Please give your answer or links that gives ultimate solution for handling different types of strings in visual c++.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T23:22:27+00:00Added an answer on May 13, 2026 at 11:22 pm

    That depends on what you are doing. Its a pain and no mater what you do you will have to deal with conversion.

    • For the most case the std::string class will suite almost any need and is easly readable by anyone accustomed to c++.

    • If you are using MFC cstring would be the most often seen and the normal choice

    • For C++ Cli System::String is the standard

    • All windows api that take strings expect null terminated cstyle string however depending on what frame work you are using you may not have to call many APi’s directly especially if you are using .net

    • I believe there is another couple of string classes in ATL but I have not used that library much.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am very new to Visual Studio but i would like to use it
There are some new integer types in the Windows API to support Win64. They
I created a new Visual Studio Setup project with VS 2008. I use it
I'm completely new to Visual Studio and I'm having some trouble getting a project
I'm new to Visual C# Studio (actually using the Express edition, but another developer
I tried to google, but there are many different ways to work with Selenium.
I'm new to .Net and haven't coded in Visual Basic in many years. I'm
I've just got the new Visual Studio 2010 Ultimate and Javascript Intellisense is not
I am currently trying to set up a new visual studio 2008 solution while
I'm new to Visual C++, .NET, and the Windows world of programming (coming from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.