Hello,
I have an abstract class and I need to do unit Testing on it... The problem is I can't create object of that class to test it...like constructor and some methods.
For the purpose of the...
Type: Posts; User: mconflict
Hello,
I have an abstract class and I need to do unit Testing on it... The problem is I can't create object of that class to test it...like constructor and some methods.
For the purpose of the...
Hi,
I wanted to know... I have an attribut for my construtor called :
util::Date m_openDate;
I do not need to access it anywhere else, only in my class.
So I wanted to know... I don't...
Thanks it worked I won't forget that last line for a while :P
I have a 2d Array
g[x][y]
Each coordinate is a single character
For each character found I need to put them in a one string
I did something like this :
for (x = 0; x < LARGEUR; x++)
Where can I learn how to use a debugger, I'm using CodeBlock to do my programming
The program is huge and it's written in french, so I have to translate it manually when I post it here. I dunno what's else you need... I have some define for the OK like...
#define OK 0
#define...
Ok well I think... I found the error but I don't understand it...
After that little sample of code I have that :
*NumbersOfWordsInList = i;
*err = OK;
Its Crashing on the...
Well.. hmm I have main.c and it opens the file and I call the function and after the function is done I close the file in the main.c... It is the right way?
I tryed your solution and it still doesn't work...
Same crash... :(
do
{
fscanf(file, "%s", wordlist[i]);
printf("%s\n", wordlist[i]);
i++;
}while (!feof(file));
Every time it reaches the end of the file its crashing...
I think i found it
If I do words = malloc(2000000*sizeof(words));
It should work I guess
words is defined as in the function
int chargeWords(char *fileName, Word words[MAXNBWORDS], int...
I can deal with any number of words with any length, but I need to get all those words in the array
Hello,
I have to get 200'000 words in an array.
I use
fscanf(ptr1,"%s", words[i]);
I have one problem... It crashing because of the stack size.