Bob_Hansen wrote on Apr 14
th, 2007 at 8:53pm:
I thought that your version would translate to:
"Learning SBasic will better you help understand C/C++
And I thought my version would translate to:
"Learning SBasic will help you better understand C/C++"
I saw that that was what you were after. But, even then I can't agree. Learning a high level language like SBasic doesn't help much in learning a low level language like C, or an object oriented language like C++.
Quote:=============
I have not used C/C++ so I was trying to do some intuitive compiling. I guess I will have to read a book now.
Be glad I didn't throw in any complicated pointer arithmatic.
*(**n)++ = (Money *)*ptr.resolve()->n++
Quote:Taking a closer look, it seems that the "b" is based on (3-loop) which would translate to 3,2,1,0. Are those a/b strings indexed starting at 0? If not, how is a negative handled for that last "b" ?
I obfuscated it a little so Proud Poppy would run it through his C compiler. Yes, C and C++ index arrays starting at zero.