I think your answer solved the problem for me:
When i was doing this:
char pattern_small[m];
for( i = 0; i < m; i++)
pattern_small[i] = pattern[0][i];
Type: Posts; User: henry_kay
I think your answer solved the problem for me:
When i was doing this:
char pattern_small[m];
for( i = 0; i < m; i++)
pattern_small[i] = pattern[0][i];
As i wrote in the beginning, this is a linked list:
ktemp->word = test; <- assign the string to the unsigned char *
ktemp->next = khead;khead = ktemp; <- point ktemp to the next element in the...
Thanks for the very fast answer!
Essentially the problem is how to copy the string stored in the array small_pattern[] into the unsigned char *word. A *word pointer is created for each string i...
Hi, i want to use bitwise operations in my code to perform fast multiplications. As far as i know, bitwise multiplications can be done only with integers but i am using bigger data, so is it possible...
Hi, i am trying to use a linked list in my code but i am having some difficulties. The link is defined like that:
struct kword {
unsigned char *word;
struct kword *next;
};
I am trying...