Re: VS2005 doesn't like its own suggestions
- From: "John Carson" <jcarson_n_o_sp_am_@xxxxxxxxxxxxxxx>
- Date: Wed, 20 Jul 2005 13:57:04 +1000
"David F" <David-White@xxxxxxxxxxxxx> wrote in message news:uOGi0hNjFHA.2152@xxxxxxxxxxxxxxxxxxxx
I typed std:: A pull down list box poped up with a list of all selections available as expected. Among them is "string" as expected. I choose "string". The compiler then complains that "string is not a member of std"...
Any idea about such a puzzle?
Thanks, David
Probably you have omitted:
#include <string>
Note:
1. Intellisense has its own list of identifiers and so the presence of identifiers in an Intellisense list does not mean you have #included the necessary header.
2. Standard headers sometimes #include other standard headers, so you might get away with not explicitly #including <string> some of the time (similarly with other headers). You should neverthesless explicitly #include it to be sure.
--
John Carson
.
- References:
- VS2005 doesn't like its own suggestions
- From: David F
- VS2005 doesn't like its own suggestions
- Prev by Date: Re: Release vs Debug (Memory leak...Object Dump)
- Next by Date: Re: VS2005 doesn't like its own suggestions
- Previous by thread: VS2005 doesn't like its own suggestions
- Next by thread: Re: VS2005 doesn't like its own suggestions
- Index(es):
Relevant Pages
|
Loading