(insert nifty title here)

Started by
11 comments, last by Tsu 23 years, 3 months ago
i think you may have misinterpreted his intent, SirKnight, or i have...

what i think you want to do is start your own thread on GD about the topic, heh, instead of stepping on TSU''s toes

anyway, try this instead

for( whatever)
myfoos = new foo;

cuz

T* Name[x]

creates x pointers to type T, each one referenced by
Name.<br><br>dont forget to delete them all, either!<br><br>for( whatever )<br> delete mfoos;<br><br><br>as for TSU''s topic, I recommend the books by BJARNE STROSTRUP. I have one of them, and they''re great. He''s the guy who WROTE c++. really, he was the first to make it.<br> </i> <br><br><small><small><small><i><b><big>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</big> </b> </i> <br>I have no name that you may call me. I am merely <i><b>Succinct.<a href="http://www.geocities.com/succinct_online/index.htm"><big><big><br><font color="#FFFFFF">~</font><font color="#FF0000">Succinct </font><font color="#FFFF00">Demos </font><font color="#5555FF">Online</font><font color="FFFFFF">~</font></big></big></a><small><font color="#00FF00"> </b> <br><a href="mailto:Succinct@mailroom.com">-(Drop me a line here n''at)- </i> </a></font></small><br><img src="http://www.geocities.com/succinct_online/Graphics/AutoBot.gif"><font color="#FFFF00"><b> </b>
-- Succinct(Don't listen to me)
Advertisement
Well, you were both wrong, and I was too.

I wrote the code incorrectly, I ment
      my_foos[i] = new foo      
(what else the loop for??? just to eat up processor time??? ). And it still doesn't work (I'm using Borland C++ 3.1 dor DOS (need it in CS class)). Just try it!

And I'm not trying to take over anyone's thread, ok? >

UPDATE: The problem was that I didn't realize that the forum app. will change my post from
  [i]  
to italic (forum code... )

Edited by - cearny on January 16, 2001 1:54:28 PM
[ Libraries - STLport | boost | SDL | wxWindows ]
[ Manuals - MSDN | STL Docs ]
[ Compilers - VS.NET | MingW | DJGPP ]
[ Editors/Tools - EditPlus 2 | Anjuta | Dev-C++ ]
heh, same thing happend to me... so i was right , well, kinda

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I have no name that you may call me. I am merely Succinct.
~Succinct Demos Online~

-(Drop me a line here n''at)-


Remember, you can''t like DOS better than win32 just cuz it''s made by m$. M$-DOS is, too.
-- Succinct(Don't listen to me)

This topic is closed to new replies.

Advertisement