Boost logo

Boost Users :

Subject: Re: [Boost-users] storing data
From: pete_at_[hidden]
Date: 2009-12-22 07:17:30


On Tue 22/12/09 05:08 , "Sean Farrow" <sean.farrow_at_[hidden]> wrote:

> Hi:
>
> I am in need to store data. Basically I have an application, when I
> have 8 collumns that are named, however thee are 38 possible rows with
> differing nameson. I also need to store the screen co-ordinates for
> each column name on each row. So for example:
>
> Column 1, name Item, row 1, x 66, y 85, row 2 x 88 y 121.
>
> What is the best way of being able to store this data with boost and
> get access to the item name, and co-ordinates given a row and column
> number?

Hi Sean,

There are several boost libraries that may be of help - I am thinking of boost.array, boost.multi_array and possibly even boost.multi_index. This is in addition to standard containers such as map and vector.

However it is difficult to give very specific advice as I find your mail unclear. The best I can suggest is to think through your problem again, thinking how to make it easier for others to understand - in my experience the very process of thinking how to explain a problem clearly to others may help /you/ solve the problem by yourself.

Your mail would also benefit from being passed through a spelling and grammar checker prior to posting.

I hope this advice is of help to you,
Pete Bartlett

 


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net