what do i need to implement data structures

V

victor.herasme

Hi,

I am a beginner (a civil engineer who needs to know programming) and
i need to know what specific subjects i need to know in order to start
using/programming/creating data structures. I have Deitel's book for
example and i want to know if i have to read the 1200 pages before i
begin. It is very important for me to start as soon as possible. all
suggestions appreciated. Thanks,

victor
 
M

Morya

Hello Victor,

I would suggest that you can go ahead and pick-up a small programming/
language specific book. Say "Thinking in C++" kinds. This will help
you get started with your assignments.

My experience, when I had helped a civil engg buddy of mine back in
college days he didn't really require a lot of data structures but
needed lot of math and huge formulas. We had written a small piece of
code to handle some truss design. Most of this contained defining huge
number of constants and putting them in formulae. So, this would
depend on the type of application that you are targeting to develop.

Lastly, this really isn't a C++ question. Try other appropriate news
groups.

cheers,
Moh
 
A

aaragon

Hello Victor,

I would suggest that you can go ahead and pick-up a small programming/
language specific book. Say "Thinking in C++" kinds. This will help
you get started with your assignments.

My experience, when I had helped a civil engg buddy of mine back in
college days he didn't really require a lot of data structures but
needed lot of math and huge formulas. We had written a small piece of
code to handle some truss design. Most of this contained defining huge
number of constants and putting them in formulae. So, this would
depend on the type of application that you are targeting to develop.

Lastly, this really isn't a C++ question. Try other appropriate news
groups.

cheers,
Moh

Don't implement the data structures yourself, use the ones that are
provided by the standard library. I would suggest reading the book "C+
+ Standard Library - Tutorial and reference". There is a lot of work
put in the design of the std data structures so there is no need to
reimplement that yourself.

aa
 
V

victor.herasme

Don't implement the data structures yourself, use the ones that are
provided by the standard library. I would suggest reading the book "C+
+ Standard Library - Tutorial and reference". There is a lot of work
put in the design of the std data structures so there is no need to
reimplement that yourself.

aa- Ocultar texto de la cita -

- Mostrar texto de la cita -

actually i should have specified what i want. Sorry. Let´s say i need
to make some finite element code. I need to use spatial data
structures. So far i have read the fifth chapter of deitel´s book
(classes). Do i need to learn all the characteristics of the language
in order to understand a data structures ? What else, besides classes,
do i need to read ?
 
U

utab

actually i should have specified what i want. Sorry. Let´s say i need
to make some finite element code. I need to use spatial data
structures. So far i have read the fifth chapter of deitel´s book
(classes). Do i need to learn all the characteristics of the language
in order to understand a data structures ? What else, besides classes,
do i need to read ?

Finite element codes are not easy to handle in a language like C++(a
careful object oriented design, followed by implementation), however
there are many open source C++ finite element projects, where using
one of them for the moment(until you get comfortable with the
language) will be wise.

BTW, for finite element programming MATLAB or OCTAVE seems perfect
alternatives, especially if you have access to a legal version of the
first one.

Best
 
A

aaragon

Finite element codes are not easy to handle in a language like C++(a
careful object oriented design, followed by implementation), however
there are many open source C++ finite element projects, where using
one of them for the moment(until you get comfortable with the
language) will be wise.

BTW, for finite element programming MATLAB or OCTAVE seems perfect
alternatives, especially if you have access to a legal version of the
first one.

Best

I completely disagree with utab's statement. C++ fits perfectly for
finite element codes, specially if it involves a little bit more than
the standard finite element method. I implemented a gfem myself
(generalized or extended finite element method) and C++ is perfect for
it since it involves some heavy computational geometry. On the octave
and matlab sid? Don't even try it!!! Those are interpreted languages,
so even though they are very easy to code, you cannot get a good
performing application out of it. If you are going to use just the
standard fem, you can try fortran since coding in C++ requires you to
have some goodies found in fortran already. I have to code my own
matrix and vector classes because I didn't want to use a library on my
gfem code.

aa
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top