Search:

Type: Posts; User: pukebucket

Search: Search took 0.01 seconds.

  1. Replies
    42
    Views
    4,838

    Ok thanks. I understand why I need it now. Thanks...

    Ok thanks. I understand why I need it now. Thanks for all the help. If I need more I'll come and ask, as for now, I got some learning to do!

    Thanks and bye people.
    Thanks alot treenef, your help...
  2. Replies
    42
    Views
    4,838

    Ok I'll try to explain your code to show how much...

    Ok I'll try to explain your code to show how much I understand.




    char array[100]="treenef"; //Declares a charactor array called array,
    of 100 bytes and saves treenaf into it

    int...
  3. Replies
    42
    Views
    4,838

    I see. No I don't think I could. My tutor is...

    I see. No I don't think I could. My tutor is looking pretty bad right now. He taught us nothing like that.

    To dwk: I'm not sure that I understand your code.

    Sorry to be a pain people :(
  4. Replies
    42
    Views
    4,838

    Yes I understand that, It would print all 7...

    Yes I understand that, It would print all 7 charactors stored in the array.
  5. Replies
    42
    Views
    4,838

    Ok. So, is the ctrie part the letter count thing?...

    Ok. So, is the ctrie part the letter count thing?

    Also, do you have msn? It would be easy to talk that way :)

    And thanks again for the help :D
  6. Replies
    42
    Views
    4,838

    I don't quite understand it, so I'm going to...

    I don't quite understand it, so I'm going to re-read it quick.
  7. Replies
    42
    Views
    4,838

    That's what I was reading!

    That's what I was reading!
  8. Replies
    42
    Views
    4,838

    No wait, I didn't copy it. I read the whole...

    No wait, I didn't copy it. I read the whole thing, and got an understanding of it and then tried to make his one do what my one has to do. His one couldn't write it to a file. I am not going to use...
  9. Replies
    42
    Views
    4,838

    I've run into a problem. At for (vai =...

    I've run into a problem. At



    for (vai = all->begin(); vai != all->end(); vai++, cnt++)
    cout << cnt + 1 << " " << *vai << endl;
    char *strcpy ( char ans, const char *vai ); ...
  10. Replies
    42
    Views
    4,838

    Thank you so much :D This page looks very useful....

    Thank you so much :D This page looks very useful. He didn't specify how to do it, he just told us to do how ever we want :S

    I'll do as you said and come back if I need more help. Once again,...
  11. Replies
    42
    Views
    4,838

    Ok. From one of your previous posts, you said to...

    Ok. From one of your previous posts, you said to use




    char word[MAX_WORD_SIZE][FILE_SIZE];
    ifstream b_file;
    int i;
    for(i =0; i < FILE_SIZE; i++)
    b_file.in >> word[i];
  12. Replies
    42
    Views
    4,838

    I see. So this means that my program will take...

    I see. So this means that my program will take along time to solve all ten?
  13. Replies
    42
    Views
    4,838

    Well the file is large so I found the largest one...

    Well the file is large so I found the largest one I could (12 charectors) but said 15 to be sure. Sorry if this complicates things I didn't realise how important it is. I though it was like when you...
  14. Replies
    42
    Views
    4,838

    The biggest word is 15 charectors. Thanks for...

    The biggest word is 15 charectors.

    Thanks for your help people, it is very appreciated.
  15. Replies
    42
    Views
    4,838

    Well, I know how to read strings from a text file...

    Well, I know how to read strings from a text file using something like

    ifstream b_file

    But it only reads the first string. I don't know how to make it go to the next one after it has done...
  16. Replies
    42
    Views
    4,838

    Thats exactly what I mean :) To Treenef - Yes...

    Thats exactly what I mean :)

    To Treenef - Yes I know, I meant they are random charactors. I should have explained it better. And he gave me a text file with all the unjumbled "words" (if you can...
  17. Replies
    42
    Views
    4,838

    I'm sorry, this is what I mean. File.txt...

    I'm sorry, this is what I mean.

    File.txt (scrambled)
    atc
    malnia
    erab

    new_file.txt(unscrambled)

    cat animal bear
  18. Replies
    42
    Views
    4,838

    They have to be in the order in which they are...

    They have to be in the order in which they are written in the text file. For example, the jumbled words would be like this;

    word1

    word2

    word3

    And unscrambled would have to look like this;
  19. Replies
    42
    Views
    4,838

    Word unscrambling

    I was wondering how to make a program that would;

    1) Read a text file with about ten scrambled words in it, seperated by a line each.

    2) Somehow unscrable the words using a wordlist given to me...
Results 1 to 19 of 19