Search:

Type: Posts; User: wvu2005

Page 1 of 2 1 2

Search: Search took 0.01 seconds; generated 52 minute(s) ago.

  1. Replies
    10
    Views
    1,456

    Thanks for the reply, but I've seen both of those...

    Thanks for the reply, but I've seen both of those links. I always try to exhaust my resources before posting (i.e. Google searching, etc.). If anyone else can help, I'd be very appreciative.
    My...
  2. Replies
    10
    Views
    1,456

    Do you know much about radix sorting by the way...

    Do you know much about radix sorting by the way DWKS? I'm pretty stumped, as you have probably already found out :)
  3. Replies
    10
    Views
    1,456

    Will do. Thanks.

    Will do.

    Thanks.
  4. Replies
    10
    Views
    1,456

    I use Cygwin (basically a UNIX emulator) as the...

    I use Cygwin (basically a UNIX emulator) as the compiler.
  5. Replies
    10
    Views
    1,456

    Radix Sorting Help

    Hi everyone,

    I'm having trouble implementing a supposedly simple Least Significant Digit first Radix Sort. The book I'm using gave me somewhat of a template that I touched up (below), but I'm...
  6. Thread: Binary Trees

    by wvu2005
    Replies
    7
    Views
    2,652

    Hi everyone, Just wanted to say thanks for the...

    Hi everyone,

    Just wanted to say thanks for the help on this one. FINALLY got it working.

    Take care,
    James
  7. Thread: Binary Trees

    by wvu2005
    Replies
    7
    Views
    2,652

    Hi, Am I on the right path in the section...

    Hi,


    Am I on the right path in the section of the code that adds new nodes?
    I'm not finished, but trying to make an attempt. It's under the
    /****CODE TO ADD NEW NODES AND COUNT REPEATS...
  8. Thread: Binary Trees

    by wvu2005
    Replies
    7
    Views
    2,652

    Hi guys, Thanks for the help so far. My...

    Hi guys,

    Thanks for the help so far. My template is from a book I'm self-teaching myself C from for a job switch. I'm not asking for anyone to do it for me, just help or tips that will help...
  9. Thread: Binary Trees

    by wvu2005
    Replies
    7
    Views
    2,652

    Binary Trees

    Hi all,


    I'm trying to do a binary search and collect some stats from a text
    file in order to compare the processing times of this program (binary
    searching) versus an old program using...
  10. Thread: Linked Lists

    by wvu2005
    Replies
    12
    Views
    2,517

    Hi everyone, Thanks for the help so far. I've...

    Hi everyone,

    Thanks for the help so far. I've made a lot of progress, but I'm getting incorrect word counts. Can anyone check this over and see what's wrong?

    Thanks,
    James



    #include...
  11. Thread: Linked Lists

    by wvu2005
    Replies
    12
    Views
    2,517

    Hi, Can anyone comment my code between the...

    Hi,

    Can anyone comment my code between the brackets below? My friend helped me and I'm kind of unsure what's really going on.

    Thanks,
    James



    #include <stdio.h>
  12. Thread: Linked Lists

    by wvu2005
    Replies
    12
    Views
    2,517

    Hi again, Made a few changes. Any more input?...

    Hi again,

    Made a few changes. Any more input? I've got the program set up with the variables to print the wordcounts, I just don't know how to actually perform them.

    Thanks again,
    James
  13. Thread: Linked Lists

    by wvu2005
    Replies
    12
    Views
    2,517

    Here's an update. It'll compile now, but when I...

    Here's an update. It'll compile now, but when I try to count the words, I get a segmentation fault. I'm really unsure where to go from here. Any help would benefit me greatly.

    Thanks,
    James
    ...
  14. Thread: Linked Lists

    by wvu2005
    Replies
    12
    Views
    2,517

    Indented code below, sorry about that. I also...

    Indented code below, sorry about that. I also made some progress from my initial post.



    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>
    struct list_elem {
    char *word;
    ...
  15. Thread: Linked Lists

    by wvu2005
    Replies
    12
    Views
    2,517

    I'm not sure how and what to malloc for the...

    I'm not sure how and what to malloc for the linked lists. Also, if anyone could critique my code for walking the list that would let me know if I at least did that right. Lastly, for the main parts...
  16. Thread: Linked Lists

    by wvu2005
    Replies
    12
    Views
    2,517

    Linked Lists

    Hi,

    I'm writing a program that will use linked lists to print the
    number of unique words, total words, and the most frequent word from a text file. I've gotten a decent amount of it done except...
  17. Replies
    16
    Views
    27,265

    Thank you to all who provided tips. I figured it...

    Thank you to all who provided tips. I figured it out.

    James

    PS I'll work on my indenting skills :)
  18. Replies
    16
    Views
    27,265

    Hi everyone, I've made some progress, but I'm...

    Hi everyone,

    I've made some progress, but I'm getting incorrect word counts. Can anyone check out my code and see what I might be doing wrong? It seems that it may be breaking out of a loop...
  19. Replies
    16
    Views
    27,265

    Thank you everyone for your responses. ...

    Thank you everyone for your responses.

    However, I'd like to keep as much of my original code as possible. I need to malloc space because I will be using this with text files of varying sizes (I'm...
  20. Replies
    16
    Views
    27,265

    Does anyone have any further input. I've browsed...

    Does anyone have any further input. I've browsed the forums, but did not find any posts regarding malloc or strlen in regards to the way I plan on using them. There were some trying to do what I am...
  21. Replies
    16
    Views
    27,265

    Hi everyone, Thank you for your replies. ...

    Hi everyone,

    Thank you for your replies. First off, sorry for the messy formatting of my program. Secondly, I do not need to open the file up within the C program. I will be sending the data...
  22. Replies
    16
    Views
    27,265

    Counting Number of Words in a Text File Using C

    Hello,

    I'm trying to develop a program that will enable me to count the number of words in a text file. As a plus, I'd like to be able to count how many different words there are too. I have a...
  23. Replies
    7
    Views
    1,265

    Hi, I've made some progress. I can generate...

    Hi,

    I've made some progress. I can generate the color, but still can't generate the rectangle. Below is my code:



    #include <stdio.h>
    #include <stdlib.h>
  24. Replies
    7
    Views
    1,265

    Hi everyone, Thank you all for following up...

    Hi everyone,

    Thank you all for following up with my question. I still am in need of help, but I did not know that depth would be used to define the color, that's very interesting (I stand...
  25. Replies
    7
    Views
    1,265

    Color would be the 3rd dimension of the array...

    Color would be the 3rd dimension of the array (e.g. a rectangle consisting of values for length and width would be two dimensions and the coloring of it would be the 3rd).


    Thanks,
    James
Results 1 to 25 of 26
Page 1 of 2 1 2