View Single Post
  #1  
Old 08-25-2010, 08:53 AM
C++ C++ is offline
Senior Member
 
Join Date: Jun 2009
Posts: 18,248
Default 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
Reply With Quote