But this code seems to be wrong so that I can't compile it.Why?
Type: Posts; User: Dawnson
But this code seems to be wrong so that I can't compile it.Why?
I know how to cope with the problem that the first floor has asked, but you give me another method to handle it. So, I must show my thanks.
Obviously, sizeof(numA) is 5, and sizeof(int) is 4(depending on the compiler). You have made 5/4 and that results in 1.
I have no problem when I install the C::B. My system is Win 7.
Maybe You can solve it by rebuilding the compile.
Thank you for your recommendation. I have just read the <<C++ primer>> and I wanna read <<Thinking in C++>>. However, I always have lots of problems about using C++ so that I need all of you to help...