Activscp header/idl define twice many IID.
diff --git a/mingw-w64-headers/include/activscp.h
b/mingw-w64-headers/include/activscp.h
index 847290e..cf93d7a 100644
--- a/mingw-w64-headers/include/activscp.h
+++ b/mingw-w64-headers/include/activscp.h
@@ -175,35 +175,9 @@ extern "C" {
DEFINE_GUID(CAT
In an earlier and a different posting, I express my concern about
MS-Windows' std::string/locales, what is the point of wstring, I asked, if
at the end there is no reliable uft-8/16/32 support for. them. The best
thing to do is to use boost's or some other 3rd party, if true utf support
is need
This one is way cooler
http://www.bing.com/search?q=toupper&src=IE-TopResult&FORM=IETR02&conversationid=
From: Alexandre Pereira Nunes
Sent: Tuesday, June 30, 2015 7:37 PM
To: mingw-w64-public@lists.sourceforge.net
Subject: Re: [Mingw-w64-public] toUpper()
[cut]
This may also help in future:
Em qua, 1 de jul de 2015 às 02:36, Greg Jung escreveu:
> In my programming instead of "multibytetowide" conversion preparing for a
> windows API inside #ifdef UNICODE blocks, I just call the ANSI mode of
> the function with ascii c-strings
> passed in, and let microsoft perform the A->W convers
On 07/01/2015 06:02 AM, p...@arbolone.ca wrote:
std::wstring source(L"Hello World");
std::wstring destination;
destination.resize(source.size());
std::transform (source.begin(), source.end(), destination.begin(),
(int(*)(int))std::toupper);
The above code is what did the trick, do not ask how, I
On 06/30/2015 05:24 PM, Riot wrote:
> #include
> #include
>
> std::string str = "Hello World";
> std::transform(str.begin(), str.end(), str.begin(), std::toupper);
Please note this code is subtly incorrect for two reasons.
There are two overloads of std::toupper:
1) int toup
std::wstring source(L"Hello World");
std::wstring destination;
destination.resize(source.size());
std::transform (source.begin(), source.end(), destination.begin(),
(int(*)(int))std::toupper);
The above code is what did the trick, do not ask how, I am still digesting
it. However, any suggestions
2015-07-01 12:15 GMT+02:00 :
> In this web page:
> http://en.cppreference.com/w/cpp/locale/toupper
>
> I got this code:
> #include
> #include
> #include
>
> int main()
> {
> wchar_t c = L'\u017f'; // Latin small letter Long S ('ſ')
> std::cout << std::hex << std::showbase;
> std::co
In this web page:
http://en.cppreference.com/w/cpp/locale/toupper
I got this code:
#include
#include
#include
int main()
{
wchar_t c = L'\u017f'; // Latin small letter Long S ('ſ')
std::cout << std::hex << std::showbase;
std::cout << "in the default locale, toupper(" << (std::wint_
On 30 June 2015 at 23:58, wrote:
> I would like to write a function to capitalize letters, say...
> std::wstring toUpper(const std::wstring wstr){
> for ( auto it = wstr.begin(); it != wstr.end(); ++it){
>global_wapstr.append(std::towupper(&it));
>
> }
> }
>
> This doesn’t work, but doesn
10 matches
Mail list logo