@sbi I checked the link before asking , it says I can post if I want , it depends weather people want to answer , I was just checking with the people who are actually here !
It is C++ related I think I'll take my chances http://stackoverflow.com/questions/7784357/invalid-heap-error-when-trying-to-copy-elements-from-a-map-to-a-compatible-prior
@angryInsomniac I liked it that you asked, and seeing that you already asked the hints, I like you even more. :) Lemme recap: If you want to discuss your problem here, you are welcome. If you intent to just drop the link and disappear, you are not.
@DeadMG You know, the question occurred to me when I typed that. :) There's those who even want the great apes to be classified as people, so assuming your avatar doesn't show you, I figured I could take the risk...
Hmm , the pointer business i added very recently , as I thought that maybe these things need references passed in ( there is a bit of JAVA leaking in here ) But , how come it accepts charElement* 's for a charElement array ?
Vector reallocation occurs when a member function must increase the sequence contained in the vector object beyond its current storage capacity. Other insertions and erasures may alter various storage addresses within the sequence. In all such cases, iterators or references that point at altered portions of the sequence become invalid. If no reallocation happens, only iterators and references before the insertion/deletion point remain valid.
that is: mutate a vector, and your pointers to objects stored in the vector become invalid.
pointers, chars and ints are all in the language because they're useful. If you need something different, don't use them. If you need to use those types, use them
What is "bad to use" or "good to use" depends on what you need
except in the case of singletons, which are bad no matter what you need
@jalf not really, if i have a program where my username won't look good when its longer than 10 chars, well there is my reason, any other smart questions? :P
@DeadMG changing the vector to list leads to this "error C2676: binary '-' : 'std::_List_iterator<_Mylist>' does not define this operator or a conversion to a type acceptable to the predefined operator" all other things being equal , any thoughts before I spend another hour deciphering this ? :)
and then join a chat room to ask what's "good to use", and insult people when they try to get you to see the flaw in your code, and refuse to listen to the answers you get to your answer
@DeadMG Thanks for the offer to look at my code , I want to try my hand at it first , I will learn better that way. If it still doesn't work tomorrow , I'll find you on the site :)
@jalf Strange, on the other hand, i see people who come to ask for help in specific area and then the masterminds start asking about the code and 'smart' questions why does the guy need something instead of helping him xD.
Another interesting statistics: The first posting of a user I know was posted 365 days ago. I haven't seen him in a long time, but he was here quite often a few months ago.
so if I want to attend any lectures, I need someplace to stay whilst finding some more long-term accomodation
and it's very expensive, and very slow, and very arduous
and you e-mail the landlords of these places you want to get
and they just e-mail you back saying "thanks for e-mailing me! now come visit me in person, because I am apparently incapable of arranging anything by e-mail."
@CatPlusPlus Here, gas ovens are controlled by a knob that has numbers on it. IIRC, III means ~180°C (where you bake most common German cakes), for each number up or down give or take 20°.
and it's all the university's damn fault for not having available this one magic staff member available and not answering my e-mails or getting my messages and then not red flagging a seriously obvious mistake
@CatPlusPlus I usually wait 20 min to preheat and 15 min for baking the pizza. Often when you turn the nob there's a 'tick' sound indicating the termostate activation/deactivation. This should give you an idea of the current temp.
@CatPlusPlus OMG, don't be so clumsy! Just turn it up and down and see at which temperature the gas gets louder or quieter! Gas stoves usually are two-point temperature regulators. When they have reached the set temperature, they just turn down, when they reached a second point a bit below that, they turn it on again.
well, I did live with a girl last year, but she's living with her boyfriend now and it's an hour on the road, so it would be seriously inconvenient even if she was up for it
wiki - wick - ee
boolean - bool - ee - un
Dijkstra - Dike - struh
Knuth - Kah - nooth (according to his homepage)
daemon - day - mun
yes (as in lisping or 'yeth') - huh?
wav file - wave
gif file - jif, like the peanut butter
tiff - rhymes with gif
@StackedCrooked Yeah, I'm sure there are local differences, but I'd really wonder if they are as pronounced (pun not intended, but noted) as between say, a Bavarian and a Norther German.
@StackedCrooked If someone from Hamburg and someone from Munich spoke in their local dialects (and I'm not speaking of the Northern Low German, but a heavily accented Hamburger dialect), they would have a very hard time understanding each other.
@StackedCrooked Yeah, Eastern Frisian was more or less an incomprehensible foreign language for me when I was there for the first time in 1990. I was told though, that the local farmers can communicate just fine with the Dutch farmers from the other side of the border.