|
1) Check your keyboard layout: certainly US and UK layouts swap '"' and '@', and SHIFT+'3' on UK is '£' while for US is is '#'.
2) I can - and it's not new IIRC, I used to use it in VS2008, I'm pretty sure.
BTW - my VS2010 instance has been running for 14 hours, currently.
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
OriginalGriff wrote: 2) I can - and it's not new IIRC, I used to use it in VS2008, I'm pretty sure.
No. it is a new features in VS2010. While column selection has been available since Developer Studio 2.0, column insertion is available only in Vs 2010.
|
|
|
|
|
I second your first point. Definitely check the keyboard layout control panel. It's entirely possible to fat-finger the shortcut that switches between layouts!
Edit: I assume Win7. It's in the "Region and Language" control panel, under the Keyboards and Languages tab, in the "Change Keyboards..." button, on the Advanced Key Settings tab. Left Alt+Shift is the default shortcut, which if you're a keyboard power user, might accidentally collide with your app shortcuts. Been there.
|
|
|
|
|
djdanlib wrote: the shortcut that switches between layouts
I suspect I've been doing this. I use both "US" and "United States-International" and it seems like I somehow get switched to the latter every now and then.
|
|
|
|
|
That's "Weird Video of the Day".
Now Donna Summer's Love to Love You is not a problem but just check out the 'cool' dancer.
|
|
|
|
|
LOL, that is better than most of the jokes in here 
|
|
|
|
|
The further I get from the '70's the happier I am.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
The closer I get to my 70's the more I worry...
Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
|
|
|
|
|
Chris Maunder wrote: The further I get from the '70's the happierolder I am.
ftfy
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994.
|
|
|
|
|
My eyes!
The googles!
They do nothing!
|
|
|
|
|
My signature.
Read it.
Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
|
|
|
|
|
|
Interpretive dance always looks like someone is making fun of interpretive dance.
_____________________________
A logician deducts the truth.
A detective inducts the truth.
A journalist abducts the truth.
Give a man a mug, he drinks for a day. Teach a man to mug...
|
|
|
|
|
Are there reasons for beginner programmers to be taught C instead of C++?
I'm not even thinking about Object Oriented programming, but simple declarative programming.
I'm reading a lot of questions on CodeProject and on StackOverflow where people ask about issues with C language features that are so prone to errors and defect that it makes me cringe.
A lot of those issues could be handled by simple C++ features (memory management (new/delete, smart pointers), strings, collections, references, ... )
I know there are lot of legacy code out there and it should still be maintained, but old code "ways" should not be the emphasis of the education.
Watched code never compiles.
|
|
|
|
|
Imagine a c++ programmer armed with a few smart pointer classes from boost and the stl and no understanding of the underlying issues each is designed to address.
|
|
|
|
|
So a Java programmer? 
|
|
|
|
|
|
Well, I don't care (one example of many) how std::string internally manages the string, I just want to do std::string s("hello world"); .
it is safe, it is efficient.
Watched code never compiles.
|
|
|
|
|
Until you want to pass it to an api that takes LPTSTR
|
|
|
|
|
A cringe-worthy proposition!
I'm quite pleased by the way the StringBuilder class works so nicely with interop.
|
|
|
|
|
Maximilien wrote: it is efficient.
std::string is not efficient if you're not using it properly and according how it manages string internally,
Maximilien wrote: it is safe
and std::shared_ptr is not safe if you're using it incorrectly (circular references).
So if you really want safe and efficient code you need to know how those high-level concept works on a low-level.
|
|
|
|
|
Well,
Maximilien wrote: std::string s("hello world"); .
I'm using VC5. Never missed that Construct, and I don't see the efficiency improvement against what I would write:
'CString s("Hello World");
Bram van Kampen
|
|
|
|
|
_Josh_ wrote: Imagine a c++ programmer armed with a few smart pointer classes from boost and the stl and no understanding of the underlying issues each is designed to address.
Nevertheless, Stroustrup recommends learning high-level procedural C++ and then learning the low-level stuff, i.e., the exact opposite of what you say.
Kevin
|
|
|
|
|
Well I didn't really suggest an order, just that knowledge of both is required to make the most of c++. If people want an easier language there are plenty out there.
|
|
|
|
|