y‰SŽÒнŒ}zC/C++Ž ..
[2ch|¥Menu]
511:ƒfƒtƒHƒ‹ƒg‚Ì–¼–³‚µ‚³‚ñ
07/06/15 15:56:02
>>510
‚»‚̂悤‚É‘‚«’¼‚µ‚Ă݂܂µ‚½‚ªAƒRƒ“ƒpƒCƒ‹’Ê‚è‚Ü‚¹‚ñ‚Å‚µ‚½B
ˆÈ‰º‚̓Rƒ“ƒpƒCƒ‹ƒGƒ‰[‚̃ƒbƒZ[ƒW‚Å‚·B

> g++ samp.cpp
samp.cpp: In function 'int main()':
samp.cpp:50: error: no match for 'operator+' in 'operator+(((const int&)((const int*)(&10))), ((samp&)(& obj3))) + obj3'
samp.cpp:37: note: candidates are: samp operator+(const int&, samp&)
samp.cpp:28: note: samp operator+(samp&, const int&)


ŽŸƒy[ƒW
‘±‚«‚ð•\ަ
1‚ð•\ަ
ÅVƒŒƒX•\ަ
ƒXƒŒƒbƒh‚ÌŒŸõ
—ÞŽ—ƒXƒŒˆê——
˜b‘è‚̃jƒ…[ƒX
‚¨‚Ü‚©‚¹ƒŠƒXƒg
¥ƒIƒvƒVƒ‡ƒ“‚ð•\ަ
‰É‚‚Ԃµ2ch

5001“ú‘O‚ÉXV/258 KB
’S“–:undef