As per your function declaration: void size(string* const pword); 'size' function require one argument and that is missing during function...
KibblesCount = NumCount; NumCount is a uninitialized local variable and it will contain the garbage value. Any operation on NumCount will...
Are you using run time memory allocation means heap memory? If not try malloc/calloc for run time memory allocation, If problem is stil there...
string.h Example Code char str[] = "now # is the time for all # good men to come to the # aid of their country"; char delims[] =...
"is" should be replaced by "=="... if (mess->MessageParts->Items[inindex] is TIdAttachmentFile) should be if...
Hi, You are right that "WriteFile" API would be used for writing data to serial port. First you have to take the data into the buffer. like...
Hi, Starting from user, If sticks picked by user is say 'n' then computer should pick '5-n' sticks. Keep this logic in loop.
Hi, From main you are passing temp by value, to achieve desired result you should pass temp by address. Like #include <stdio.h> typedef...
scanf("%s",&z); This statement will lead illlegle memory access also.
You can do it without temp var. #define SWAP(a,b) a=a+b;b=a-b;a=a-b;
Here is the example int main() { char *buffer1; char *buffer2; buffer1 = (char *)malloc(5*sizeof(char)); buffer2 = (char...
If you have radius and center cordinates then you can use the standred equation of circle. ((X- H)*(X -H)) + ((Y -K)*(Y - K)) = R*R H ->...
I have some doubts about output.malloc will allocate a chunk of 20 bytes to p2 and we set that buffer with 0. In the while loop we are...
also put terminating char in the last of string.
You can also use standered function strtok( ) .Take a char pointer and allocate it memory enough to hold the string.call strtok for tokens and...
Separate names with a comma.