A problem with the -> membership operator
I'm learning C++ from the book C++ Primer Plus. At the end of the chapter on loops, they want us to design a structure, allocate adequate memory for an array of such structures using new, then feed input data to it. I got this code: <div class="codeblock"> <div class="spaced"> <div>
__________________
C++
domain name forum
|