February 3rd, 2012 01:45 PM
For noobs that read this and wonder what the solution was, do a search with the text "multiply defined operator c++" and lots of threads will come up. I have run into this myself and usually the...
February 3rd, 2012 01:31 PM
'&' takes the address of the variable which is whatever the environment assigns. You are passing the address of the variable to the function, which will presumably modify that variable so that it is...
February 3rd, 2012 01:23 PM
If it was that simple, then I wouldn't have started the thread in the first place. Being aware is great, if it is in fact true! But finding a solution is an entirely different matter. Moreover,...
February 3rd, 2012 12:45 PM
I do not know the requirements of your program. Therefore it is very difficult to comment about whether something is done correctly or efficiently or whether there is a better way. I am concerned...
February 3rd, 2012 12:30 PM
My biggest problem with understanding this is that I don't see how a compiler can determine whether something is read from or written to again; especially in a large scale project. I could...
February 2nd, 2012 08:52 PM
Surely there must be something more elegant than using the volatile keyword and a manually written loop. Honestly, the aforementioned links don't do a very good job of explaining why the volatile...
February 2nd, 2012 07:32 PM
Even if what you wrote compiled, I fail to see how that would be easier to read. I find the ternary / conditional operator to be a weird syntax for someone to read. I've recently noticed that this...
February 2nd, 2012 07:12 PM
I read some code recently where someone wrote their own function called secureMemset where they used a temporary volatile pointer to the memory block and executed the write operation an extra time to...
November 22nd, 2011 04:16 PM
You are trying to call a non-const function of the class via a pointer to a const object. The open function is not a const function. Do you need the database pointer to be declared as a pointer to...
August 17th, 2011 05:38 PM
Please don't waste time scolding spammers. Just press the report button and move on; unless of course you want to waste your own time.
January 5th, 2011 08:27 PM
Wait - what is a make_move_iterator? I don't see that in my copy of the ISO/IEC 14882:2003(E) C++ standard. Is this something that is added to the latest standard? Please clarify. :confused:
January 5th, 2011 08:14 PM
Something like this would be better as an article submission or frequently asked STL question. If you can figure out how to do that, then it won't get buried so deeply within the general C++ forums.
December 20th, 2010 06:51 PM
I recommend searching the forums for a solution. I'll bet that you will find many questions about processing CSV files. Your initial post doesn't lead me to believe that you put much effort into...