c++ noob stuff
hi,
check this example: PHP Code:
Any ideas? thanks. |
Re: c++ noob stuff
post removed, stupid idea, it was too late :D :)
|
Re: c++ noob stuff
Quote:
Anyway I found this: Quote:
http://www.msoe.edu/eecs/cese/resour...space%20issues So, maybe it's an old implementation of stl on msvc. I've compiled a similar code with a newer msvc++ (express version) with no warnings. dev-c++ also compiles it with no problems... |
Re: c++ noob stuff
Looks to me like msvc++6.0 was trying to keep debug file sizes from getting too large. So wouldn't worry about it. dev-c++ uses the mingw library if I'm not mistaken, and express ed of msvc++ is based on msvc++8 I think.
It's not surprising really that a hash table of strings, using a string as the key, would generate some rather large template names either, and memory use is probably right up there with it (map implementation pending). Is there any other key you could use other than string? |
Re: c++ noob stuff
all right,
If I can use a delimited char array it would be ok. I'd tried map<char*, char*> and had the same warnings... thanks. EDIT: I guess it won't work with something like <char[32], char[32]>, though. |
All times are GMT +2. The time now is 18:04. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.