6 Posted Topics
i assume your task is to find whether an instance of IE is open or not. In that case you can loop thro the current processes that is running in your system and look for process named "iexplore.exe". This is the exe that says your system is running an IE …
this might help you [url]http://watin.sourceforge.net/[/url]
Try sound(frequency) and nosound function. Examples are given in turboc help. plz check
Let me give the steps to follow assuming that the random function that you have written gives some random number for each call. You need to call this 3 time for one roll. (Use a loop here) It is given in the PDF that each player is given 3 chances …
In case if you have not got the solution.. plese use this. [CODE] #define max 5 #include<stdio.h> void main() { int i,j; for(i=0;i<max;i++) { for(j=0;j<i;j++) { printf("%c",'*'); } printf("\n"); } for(i=max;i>0;i--) { for(j=i;j>0;j--) { printf("%c",'*'); } printf("\n"); } } [/CODE] Thanks, Saphar
Here you go.. I have not done that much testing.. plz go thro.. also dont forget to delete the memory allocated.. i leave it to you.. [CODE] #include <stdio.h> #include <stdlib.h> int *readNumbers() { int *numbers; numbers=(int*)malloc(sizeof(int)); scanf("%d",numbers); return numbers; } void getFrequency(int numbers[], int freq[11]) { int loopnumber=freq[10]; for …
The End.
saphar