Search:

Type: Posts; User: tim8

Search: Search took 0.00 seconds.

  1. Replies
    14
    Views
    7,282

    Yes the most important thing is to have something...

    Yes the most important thing is to have something working for the project. I'd probably say space is more important than speed for this exercise. So it looks like "Or you could allocate a char *array...
  2. Replies
    14
    Views
    7,282

    Exactly what I need! Building up once and then...

    Exactly what I need! Building up once and then sorting would be fine. Although I don't want to store repeated elements, I want to increase a counter if spotted more than once. I'm also trying to make...
  3. Replies
    14
    Views
    7,282

    I'll need to incorporate memory management into...

    I'll need to incorporate memory management into the equation somehow, but hoping to get that sorted after I get an idea of how to store it. The key would be the word found and the value the count....
  4. Replies
    14
    Views
    7,282

    I'd rather do it entirely through coded data...

    I'd rather do it entirely through coded data structures if possible. It's counting how many times values appears in a file, so I will need to keep checking if it already exists in the array (thus...
  5. Replies
    14
    Views
    7,282

    Answered in above post, been doing some research...

    Answered in above post, been doing some research and have read about people using an array of structs to accomplish similar tasks. I just need to make sure it's an efficient way of doing it as the...
  6. Replies
    14
    Views
    7,282

    I'd like to be able to spend time first learning...

    I'd like to be able to spend time first learning to use C but seeing as this is for a project, I don't have the time to spend ages learning C before starting it which is pretty annoying.

    1. The...
  7. Replies
    14
    Views
    7,282

    Storing key, value pairs

    Hey, I have a project to do in C and coming form Java I miss all the included features that are missing from C! I need to be able to store key value pairs in an quick and memory efficient manner....
Results 1 to 7 of 7