Mail Archives: djgpp/1999/04/14/19:26:47
In article <7f2ah3$m1t$1 AT news6 DOT svr DOT pol DOT co DOT uk>,
"Michael Stewart" <mike AT reggin DOT freeserve DOT co DOT uk> wrote:
> >The function (which just reads the 2nd element) works OK and gives the
> correct
> >output, but then the program aborts before perfoming the cout!
>
> Post the get_elelement_at function
I've sorted that problem now, but there are more.... I should really rewrite
a lot of the code as it all looks inefficient now anyway (funny how it seemed
perfectly sensible when I wrote it), not to mention plain wrong in places.
I'll attack it myself for the next few days, as an exercise, and if I can't
resolve anything I'll ask in here.
(Perhaps I should explain that I'm not a proper programmer, but an
astrophysicist who's been asked to write a planet orbit simulation after only
8 hours tuition. And I'm finding it heavy going!)
Many thanks to all who posted/emailed help and advice.
--
Chris Jones
"Everybody who believes in psychokinesis, raise my right hand"
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
- Raw text -