Search:

Type: Posts; User: kopros

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    1,788

    chAnged the code to this ...

    chAnged the code to this




    for (j=0;j<10;j++)
    {
    if (curr1>TopTen[j])
    {
    ...
  2. Replies
    10
    Views
    1,788

    The data are stored in curr1 each time: I use...

    The data are stored in curr1 each time:
    I use this code but somethings going wrong can you find what?



    for (j=0;j<10;j++){
    if (curr1>TopTen[j])
    ...
  3. Replies
    10
    Views
    1,788

    top ten values while I insert data

    Hi , Pleaze Help..
    I insert various values and I have an array[10]. Give me an idea of how to store in that array the ten biggest values that I have entered. I insert 1000 values let's say.(P.S....
  4. Thread: hashing problem

    by kopros
    Replies
    6
    Views
    1,494

    Thanks a lot friend you are the greatest... Any...

    Thanks a lot friend you are the greatest... Any idea of how to sort the hash table by total points?
    qsort? mergesort?
    Im new in c. Sorry if my question look stupid...
  5. Thread: hashing problem

    by kopros
    Replies
    6
    Views
    1,494

    int hash_insert (char *key,int key_value) { ...

    int hash_insert (char *key,int key_value)
    {
    listNode *newptr,*curr,*ptr;

    int pos;
    pos = hash(key);

    /* make sure it's not already in the hash table */
    curr = HashTable[pos];...
  6. Thread: hashing problem

    by kopros
    Replies
    6
    Views
    1,494

    hashing problem

    hI I use these functions for hashing ..






    int hash(char *key)
    {
    unsigned int hash_val = 0;
  7. Replies
    12
    Views
    1,762

    I fixed the prob you mentioned but My serious...

    I fixed the prob you mentioned but My serious problem is with hashing .Thnx for the notice anyway
  8. Replies
    12
    Views
    1,762

    thanx a lot Im now having some problems with...

    thanx a lot Im now having some problems with hashing.When Im tryiing to find a code t seems that I have saved in my hash table only the 1st line of my file.Any suggestions? Thnx alot for any help...
  9. Replies
    12
    Views
    1,762

    You're right indeed. Thnx a lot for the time...

    You're right indeed. Thnx a lot for the time present
  10. Replies
    12
    Views
    1,762

    Thanx for help but my prob. is located in...

    Thanx for help but my prob. is located in typedef. Plz read again my problem and run the code to see what im saying
  11. Replies
    12
    Views
    1,762

    so any sugestion of what to do to fix it? I hope...

    so any sugestion of what to do to fix it? I hope you understood the prob..
  12. Replies
    12
    Views
    1,762

    Peculiar Problem with typedef

    Hi , I have a problem with this code in this "typedef"

    typedef struct {
    char codename[120];
    int money;
    int point;
    }item2;

    if I remove the "int point;" the code works ok. When I...
  13. Replies
    8
    Views
    1,640

    ok SlyMaelstrom I never asked from someone to do...

    ok SlyMaelstrom I never asked from someone to do the job for me, I just asked from where should I begin ... thanks alot sl4nted for the advice.I just wanted to ask something . I 'll store the data...
  14. Replies
    8
    Views
    1,640

    Project for University plz help

    The problem is

    A super market has 100000 clients. Each client has a codename (ex. ABC123456789 or DE5429GH139R). Each client earns points for every visit to the Super Market depending on the money...
Results 1 to 14 of 14