User talk:Spoon!: Difference between revisions

Line 34:
 
Hi Spoon! I made a couple little fixes. The default int isn't big enough to hold the address, but that might not be obvious without the hex formatting. Also, getting the address is only half of the task. I tried setting the address and couldn't figure it out. :( I guess I need to learn more first. —[[User:Sonia|Sonia]] 11:22, 19 January 2011 (UTC)
 
== Odd word problem and C++(11) ==
 
I am kind of newbie for C++11 (and for C++ after all too), but your changes at [[Odd word problem#C++]], are they correct? Is it still working? As I would expect, gcc gives error about the shadowing of prev. Then, let us suppose we fix that... but where's the recursion? That code does not work anymore... at least, with gcc 4.5... there's some C++11 special feature gcc-4.5 does not implement correctly that would make that code work?
 
Moreover, I've used capture by reference, it seemed to me usable in this circumstance, without problems. Is there any reason not to use it?
[[User:ShinTakezou|ShinTakezou]] 22:53, 5 May 2012 (UTC)