|
-
April 11th, 1999, 12:12 PM
#1
std::vector
Hello.
I have a simple console app that looks
like this:
using namespace std;
int main()
{
...
vector< string > abc;
}
On compiling under VC++6, I get 12 warning
messages that are very unreadable, with what
seems like garbage characters throughout.
Any ideas on what the problem might be?
Thanks,
steve
-
April 11th, 1999, 03:18 PM
#2
Re: std::vector
It's a little hard to guess. This compiled fine for me:
#include <string>
#include <vector>
using namespace std;
int main()
{
// ...
vector< string > abc;
return 0;
}
Note that I've addd the proper headers. If you're compiling this from the command line, you need to use -GX.
The universe is a figment of its own imagination.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|