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>...
Type: Posts; User: unhwan
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>...
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 =...
thank you, guys
thank you prelude.
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...
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...
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...
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...
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...
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 )
#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;
Is this sound too complicated for you guys? :eek:
There should be no square brackets around the code tags.
I don't know how those are appeared in message box.
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...
#include <stdio.h>
#include <malloc.h>
#include<stdlib.h>
void print_words();
typedef struct DTNtag {
char data;
char* meaning;
struct DTNtag* otherLetter;
struct DTNtag*...
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...
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...
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...