I want something const, so I put const in front of it. Why else would it be there? I don't care if it overwrites the constness of the type used. When someone explicitly says something, it should...
Thanks. That was very informative. And yes, it seems ridiculous. Who would design a language like that? If I write const, then just maybe I'd like it to be const
Of course, any of these loops can be done using just 'if' and 'goto'. We have all these different loop structures because it makes it a little bit easier on the programmer
Is this restricting in that this must be true for a type in order to be used in the template, or is it the developer's responsibility to make sure it's true in all cases?
So, I'm going over the C++0x draft, and I get to concepts. I'm understanding it up to where it starts getting into concept maps.
What is the purpose exactly of a concept map as opposed to a concept?...
I haven't used arrays in a while, but don't you need to use a literal or static constant for the array size in the declaration? Try doing this instead:
So, I'm thinking about checking out C# Mono, and possibly incorporate it into a project I'm working on. As far as using C# as a platform independent programing language, what should I know, what are...
I'd actually recommend making your own container class that not only stores the bonded atoms, but signifies type and strength of the bond, etc., but otherwise just like this
No, "filename.txt" in not a string; it is an array of char primitives. Above when you created a string and assigned it the filename, what is happening is behind the scenes, the string object is...