Search:

Type: Posts; User: grey616

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    2,376

    You have a very valid point. Since he asked how...

    You have a very valid point. Since he asked how to do it I simply told him the best way. I think it is important both to learn to use the STL and understand it.
  2. Replies
    10
    Views
    2,376

    What you just described is already part of the...

    What you just described is already part of the STL. It is a hash map although it is implemented differently. Binary searches and many other useful algorithms are also part of the STL. Additionally...
  3. Replies
    10
    Views
    2,376

    SHOULD be using, not have to be using. Arrays and...

    SHOULD be using, not have to be using. Arrays and structs are perfectly legal in C++, but so are goto statements. The point is that if you are not using classes and vectors you are not utilizing the...
  4. Replies
    10
    Views
    2,376

    First of all this is C++, not C so you should be...

    First of all this is C++, not C so you should be using a vector of classes not an array of structs. Here is a link to the STL http://www.sgi.com/tech/stl/ where you can look up everything you need...
  5. Replies
    1
    Views
    1,054

    how to do something periodically?

    id like to know how to code a function that performs some action periodically until a stoping condition is reached. for example, id like it to display and record the output of a temperature sensor...
Results 1 to 5 of 5