Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   C++ (http://www.domainnameforum.org/forumdisplay.php?f=123)
-   -   A problem with the -> membership operator (http://www.domainnameforum.org/showthread.php?t=119528)

C++ 08-25-2010 08:53 AM

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>


All times are GMT -4. The time now is 09:48 PM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.