Search:

Type: Posts; User: unhwan

Search: Search took 0.01 seconds.

  1. Thread: vector

    by unhwan
    Replies
    1
    Views
    840

    vector

    I have the following defined. How would I define the initial row and col for the puzzleletter?
    ------------------

    typedef std::vector<char> PuzzleRow;
    typedef std::vector<PuzzleRow>...
  2. Thread: search words

    by unhwan
    Replies
    1
    Views
    812

    search words

    Here is the code:

    /*
    void FindWord() // find a word from puzzle
    {
    std::vector<std::string>::const_iterator iter_start = wordlist.begin();
    std::vector<std::string>::iterator iter_end =...
  3. Replies
    3
    Views
    1,512

    thank you, guys

    thank you, guys
  4. Replies
    4
    Views
    904

    ok

    thank you prelude.
  5. Replies
    7
    Views
    1,781

    This is what I have and it works... now how do i...

    This is what I have and it works... now how do i divide the each line into two separate pieces...
    for example, char *array[i] = "apple meaning of apple"
    I want to divide "apple" and "meaning of...
  6. Replies
    3
    Views
    1,512

    getline to divide

    how would i?
    I have array of string which have the following:
    one meaning of one
    two meaning of two
    three meaning of three

    For example, "one" is a word and "meaning of one" is a meaning...
  7. Replies
    7
    Views
    1,781

    how would i?

    I have array of string which have the following:
    one meaning of one
    two meaning of two
    three meaning of three

    For example, "one" is a word and "meaning of one" is a meaning of one. How would...
  8. how would I?

    I have array of string which have
    one meaning of one
    two meaning of two
    three meaning of three

    For example, "one" is a word and "meaning of one" is a meaning of one. How...
  9. Replies
    7
    Views
    1,781

    read file into array

    I have a text file contains the following:
    apple meaning of apple
    degree meaning of degree
    How would I read each line and put them into array of char?
    I have the folloing but need some...
  10. Replies
    4
    Views
    904

    help on reading file

    I have the following but doesn't work.... why?

    /*
    #include<stdio.h>
    void main(void)
    {
    FILE *infile;
    char* line;

    if((infile = fopen("info.txt", "r"))==NULL )
  11. Replies
    4
    Views
    1,150

    #include #include ...

    #include <stdio.h>
    #include <malloc.h>
    #include<stdlib.h>
    void print_words();

    typedef struct DTNtag {
    char data;
    char* meaning;
    struct DTNtag* otherLetter;
    struct DTNtag* nextLevel;
  12. Replies
    4
    Views
    1,150

    Is this sound too complicated for you guys? :eek:

    Is this sound too complicated for you guys? :eek:
  13. Replies
    4
    Views
    1,150

    ??

    There should be no square brackets around the code tags.
    I don't know how those are appeared in message box.
  14. Replies
    3
    Views
    2,578

    More description about project ...

    More description about project

    http://www.bisso.com/ggu/cis313/hw/assignment05.html

    you're not inserting a key and a value. Each node in your tree is
    associated with a letter (and a possible...
  15. Replies
    3
    Views
    2,578

    my code

    #include <stdio.h>
    #include <malloc.h>
    #include<stdlib.h>
    void print_words();
    typedef struct DTNtag {
    char data;
    char* meaning;
    struct DTNtag* otherLetter;
    struct DTNtag*...
  16. Replies
    3
    Views
    2,578

    read file into Linked list, please

    I have a file contains words and meaning. for example,
    one meaning1
    two meaning2

    How would I read the file into linked list in such a way that
    I would like to have each char...
  17. Replies
    4
    Views
    1,150

    help for Linked list needed, please

    I have a file contains the words and meaning such as below:

    eat meaning1
    run meaning2

    My codes read only first word into linked list. and I want to put the meaning of the word...
  18. Replies
    1
    Views
    2,156

    would you help me with Linked list, please?

    I have some questions about Linked list. I understand the basic
    concepts but need some help putting thoughts together, please.
    The program should read info from the file which contains words and...
Results 1 to 18 of 19