473,406 Members | 2,954 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

STL basic_string: MBS -> wide conversion

Jin
Is it possible to do mb to wide conversion (or vice versa) for
basic_string template classes without resorting to C functions?
Jul 22 '05 #1
0 952

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Paul Pedriana | last post by:
I'm looking for a unit test for std::basic_string<char>. I was wondering if anybody is aware of such a thing. General Google searches haven't yielded anything.
2
by: Alvin777 | last post by:
I'd like to have data file with many strings and load them at once using MapViewOfFile and unload with UnmapViewOfFile. So I wouldn't have to allocate memory for each string on heap. How can I...
7
by: Heinz Ozwirk | last post by:
Does the standard require that 1. the type of basic_string::npos is an unsigned type? 2. the value of basic_string::npos is the largest possible value of that type? And - only if both are...
1
by: ScottyO | last post by:
Hello, I have some legacy C++ code that was re-written as a managed class. I made a C++ class library with it and I want to use it in my C# program. I created a reference to it and it...
1
by: Jon Cosby | last post by:
Is there an easy way to convert a System::String to a C++ basic_string? Jon Cosby
2
by: Jonathan Mcdougall | last post by:
Visual studio 2005 reports main.cpp(8) : warning C4996: 'std::basic_string<_Elem,_Traits,_Ax>::copy' was declared deprecated with this program: # include <string> int main()
4
by: utab | last post by:
Dear all, I am using boost::lexical_cast to convert string values to real values. (Please read the rest). My question is not related to boost usage or asking a question related to that. When...
5
by: wolverine | last post by:
Hi I want to know how to use basic_string with unsigned short (I have mentioned below why i have to do this). Could any tell me some good references in this topic. I am new to creating a new...
5
by: George2 | last post by:
Hello everyone, I would like to learn some experiences about when should we use std::basic_string and when should we use std::string? I learned some Hello World level samples and now want to...
10
by: Mike Copeland | last post by:
I have data I need to normalize - it's "name" data. For example, I have the following: "Watts, J.C." I wish to (1) parse the "first name" ("J.C.") and adjust it to "JC". Essentially, I want to...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.