|
Richard MacCutchan wrote: But this issue is purely about the C/C+ Windows libraries
...which pretty much all support Unicode, so you might as well use it if there's any possibility you might need to internationalize your app...no?
Richard MacCutchan wrote: And judging by questions here, many new programmers are not being taught to use Unicode.
That's not an excuse for anyone else to fall back to purely ANSI APIs just to accommodate them.
|
|
|
|
|
dandy72 wrote: you might need to internationalize your app Who would want to do that? Mercans?
But seriously. I am not defending either stance, merely saying what is the reality. Bjorn had the chance when he created C++ to make Unicode the default, but since he didn't it is still a PITA to do it.
|
|
|
|
|
Richard MacCutchan wrote: Bjorn had the chance when he created C++ to make Unicode the default, but since he didn't it is still a PITA to do it.
Is it?
I haven't done C++ in a dozen years (never looked back after C#), and I remember that the Windows SDK had a pretty decent set of macros that invoked either the A or W variants of pretty much all APIs based on compiler flags. Once I had settled into a routine of writing all my code "following that style", it was pretty much a no-brainer.
Or so I recall. OTOH it's not like I have any reason to be trying to paint a prettier picture of C++ than what it was actually like for me.
|
|
|
|
|
That is all very true, but I was talking about the use of character constants:
TCHAR* psomething = TEXT("some text");
WCHAR* psomethingElse = L"sometext";
as opposed to
char text = "some text";
and even wstring is the same, and try using wcout to print some Unicode characters.
|
|
|
|
|
Agreed...took me a while to get used to it, but once you've settled into the pattern, it became second nature to me. But making the transition was painful.
My surprise was that this isn't what newcomers are getting exposed to from the get-go in this day and age, so they don't have to "unlearn everything they thought they already knew about string manipulation".
|
|
|
|
|
|
Hilarious! Loved Jamie Olivers christmas turkey as well!
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
|
|
|
|
|
I know the vid without even watching it, they are funny as f***!
Watch the rest, they will have you in stitches!
|
|
|
|
|
I must definitely be in the minority here as I did not find this one bit funny. Not even mildly amusing. Don't try to explain it to me though, as I do understand it. But don't find it funny. At all.
Just so you know I'm not a dry, emotionless maniac. I do find people like Patrice O'Neal, George Carlin, Dave Chappelle, Bill Burr, etc. to name a few, to be absolutely hilarious.
If someone had me in stitches, and did it consistently, that would be Carlin. Here's an example: George Carlin - Stupid Bullshit - YouTube[^] (COARSE language warning)
|
|
|
|
|
You need to be British to get it I guess.
|
|
|
|
|
If you're not familiar with the Gordon Ramsey F-Word tutorial shorts, this won't make sense. I get it.
"Never attribute to malice that which can be explained by stupidity."
- Hanlon's Razor
|
|
|
|
|
I agree. Comical, but not hilarious.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
Keep your friends close. Keep Kill your enemies closer.
The End
|
|
|
|
|
Hi,
I know the love for IE replacement is a little low in the Lounge, but I have been bitten by it, the local admin for my area of the network lets us down load & use Acrobat reader. However the seniors where I had to do a presentation gave a PC with Edge only. I need to show page 5 of a lengthy PDF, I could show 1 & 2, 2 repeated for each page of the 180 pages. Opening a PDF, playing videos, web surfing, washing up what can Edge do?
|
|
|
|
|
Everything else past page 2 got spilled off the edge. Flat Earth confirmed. Illuminati confirmed.
"It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[ ^]
|
|
|
|
|
glennPattonWork wrote: what can Edge do?
From what I've seen, not a lot. It loves adverts though.
Sent from my Amstrad PC 1640
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Did you know how Edge got its name?
Microsoft developed a new browser, but the testers got rather edgy using it, hence the name Edge.
It was either that or "@RH*RF"H@F"#H!#$*^@"*"!^"!! " but that didn't work well with the marketing department.
True story.
|
|
|
|
|
|
Sounds like an edge case to me
|
|
|
|
|
|
Got my old MIG welder out, had to get new gas (and with the CO2 shortage, chuckle chuckle, that was difficult, so ended up with Argon and an new regulator) and some new tips.
Havent used it in 20 years, so stripped out the surface corroded wire, fired it up, and it still works perfectly, which is a surprise, since it has been in a damp basement all that time.
And they are a dream to use!
(Making a boat trailer to go out fishing! )
|
|
|
|
|
Hint: you don't need a boat trailer to go fishing - you need a boat!
Sent from my Amstrad PC 1640
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Whats it supposed to do, levitate itself to Teignmouth?
|
|
|
|
|
Float?
Or Double if you prefer.
Sent from my Amstrad PC 1640
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
How is it supposed to float down the road?
|
|
|
|