Search:

Type: Posts; User: osxd00d

Search: Search took 0.01 seconds.

  1. Replies
    15
    Views
    3,002

    It's like the difference between shipping a house...

    It's like the difference between shipping a house to someone so that they can see it, or sending them the house address so they can go see it where it's at. Which is more efficient?
  2. Replies
    9
    Views
    1,424

    Well, it is, but when you have someone else do...

    Well, it is, but when you have someone else do your hw for you, it's going to catch up with you.
  3. Replies
    9
    Views
    1,424

    for(i=0; imaxvalue)...

    for(i=0; i<4; i++){
    if(array[i]>maxvalue)
    maxvalue = array[i];


    This sounds like homework, so make sure you understand it.
  4. t should have been the newstring. I edited the...

    t should have been the newstring. I edited the names to make it easier to read and missed that one.
  5. To split up strings and find a certain word out...

    To split up strings and find a certain word out of them use strtok.

    Not sure about finding position.


    newstring = strtok(oldstring," ");
    while(newstring != NULL)
    {
    ...
  6. Replies
    13
    Views
    3,156

    can you post the whole program? I only get an...

    can you post the whole program?

    I only get an error on line 4/5- time_t and t aren't declared


    int dealCard(int * numCards, int cards[52])
    {
    int cardDrawn, subDraw;
    time_t t; ...
  7. Replies
    13
    Views
    3,156

    I think it should be --

    I think it should be --
  8. Replies
    10
    Views
    2,478

    Most common users are students by far I'd say. ...

    Most common users are students by far I'd say.

    Why? It's primative enough you learn all the things that other languages do for you.
  9. Replies
    6
    Views
    1,513

    I have a feeling you're going to need to be a...

    I have a feeling you're going to need to be a little more descriptive of this.
  10. Replies
    12
    Views
    14,977

    I'm sorry, I understand the theory, but the...

    I'm sorry, I understand the theory, but the dynamic scaling is something that my professor requires. I honestly just don't get the code implementation, and I've been searching for the past week to...
  11. Replies
    12
    Views
    14,977

    Ok, I apologize, I'm still lost. To create a...

    Ok, I apologize, I'm still lost.

    To create a new hash table


    struct HashTable* newHashTable()
    {
    int i;
    struct HashTable* newguy = (struct HashTable*)malloc(sizeof(struct...
  12. Replies
    12
    Views
    14,977

    Thanks. I think this should be enough code to...

    Thanks. I think this should be enough code to get me going!
  13. Replies
    12
    Views
    14,977

    Right, I get the concept, at least I think I do ...

    Right, I get the concept, at least I think I do

    hashtable[0]=word-> word-> word....
    hashtable[1]=word-> word-> word....
    hashtable[2]=word-> word-> word....

    The code however, I'm clueless. ...
  14. Replies
    12
    Views
    14,977

    I apologize if I'm missing the obvious here...I...

    I apologize if I'm missing the obvious here...I know this is one of the more basic data structures in C.

    My understanding of how to create a linked list is to declare a node....


    struct node{...
  15. Replies
    12
    Views
    14,977

    What I don't get though, is how do you...

    What I don't get though, is how do you dynamically create a linked list? My experience has been just using one at a time.

    Can I just do this?



    struct HashTable
    {

    int* store;
  16. Replies
    12
    Views
    14,977

    Hash Table with Chaining

    I'm attempting to write a program for class that takes a dictionary file and reads it into a hash table. Then it will prompt the user for their file that they wish to spell check against the...
Results 1 to 16 of 16