it is a good choose, but why don't you think about my suggestion?
You should not save each word but just one for each group...
From the example:
here you have to save only
efil
nru
abekr...
Type: Posts; User: ZaC
it is a good choose, but why don't you think about my suggestion?
You should not save each word but just one for each group...
From the example:
here you have to save only
efil
nru
abekr...
I'd change the function to find anagrams... I sudgest you to sort each letter of the word, than if a sorted word like this already exists (strcmp on a list of anagrams, if you can use hash table this...
Uhm, thanks, I tried it but nothing does change. The command prompt still pop up. Do I have to use some particular compiler?
Thanks, I'll look for windows api, because I nevere used it. Thanks again.
I'm just trying to simulate a combination of pressed keys, and I'd like the command prompt doesn't appear (it should run in background), but how can I do this? I already serached for it on the forum...
Why yes? Why not?
Those lines are just logic steps before code...
Yes, he does
If you have just to print it backward, I think a smarter way could be to read it backward and print it... you don't need to reverse it.
if ((enlgish == poor) && tired) printf("%s",few);
else printf("%s",more);
You are right, it was very late and sleep made me to write without searching (I use it, don't you worry)
what a big trouble... if you are busy just don't care ;)
it's what I'm looking for,...
Is it possible?
Some months ago, a programmer told me it is, but he didn't tell me how. I'm still thinking about it.
Thanks in advance
If this program is for the same course, i think that what you wrote is good. To have something like the second you should write a function which try evry assignment until each team region touches the...
I'm sorry! I was not at home... I'm happy for you that you find the solution alone :D where was the trouble?
neither... it sums the element upon the diagonal :D and it won't work for 2 reason at least.
1) It won't compile giving the same error I posted before.
2) If you do something to make it compile it...
yes, if you put j=0 you'll delete the first product evry time
edit: now it's ok
but:
-line 59 now you can use "product" instead of struct a_product and it's the same for the other part of...
Can I also pass it as a **?
Thanks for the rest :)
Uhm... and if I know the size on runtime (using malloc for example) I should use int **bar, isn't it?
EDIT: I guess: if i'm using a 3D matrix i should tell also the second size, right? (int...
@Adak: I guess I didn't understand what youngvito means exactly (probably for my english lacking in skills).
@youngvito: the code I posted sums up each element multiplied for its position in the...
I spotted only a logic error, you flag as erased not the sent product but the last one, this is meaningless... I think that you don't need that flag ("eliminato").
Example:
You have to send the...
Sorry, why you want to use a function?
I think this is easier:
for (i = 0,sumAX=0; i < m; i++)
for (j=0;j<n;j++)
sumAX += a[i][j] * (j+1);
ehehe thanks
That's happen don't you worry ;)
Messina by chance?
No problem :) we are here for this... really?!
already done ;)
Ok, sorry, have I to translate?
Devi sapere che qui se la tirano tutti e non poco ;)
Passando a noi, avevo letto decisamente di fretta il codice! Spiegami cosa intendi dire per cancellare un prodotto: data una cittą da input ed un...
Yes, I used the int example just to make an analogy with the first code in the thread, my trouble with variables was about pointers :)
edit: @Brafil, lol, perhaps you didn't turn the page :D
Very well, now it's all correct!
The malloc makes the difference ;)
Thank all y'all