Hi all,
Can anybody help me to understand the working of strtok function.
I write a small program and it's give some output that i am unable to understand.
#include<stdio.h>...
Type: Posts; User: ShashiKantSuman
Hi all,
Can anybody help me to understand the working of strtok function.
I write a small program and it's give some output that i am unable to understand.
#include<stdio.h>...
Hi,
I am try to create a import library from a dll. The dll is linked with other static library. When a function present in static library is called the app crashes. I don't know why????
This is...
Hi all,
I am developing a networking simulation software that has two component -
GUI - Written in Java
Backend dll's - Written in c.
The user configues our s/w using the GUI. The GUI writes...
All;
Thanks for your suggestions. After debugging through the weekend, I found out that, we are passing 20 fields for this array, which could hold only 13.
int sz_NC_WriteField[13];
And...
All;
I am sorry for not uploading any code, thought it might a standard problem with a standard solution !!
The code is quite large and this in turn calls another dll. I built a separate C exe...
Hi,
I write a dll that is called by a java application. For some set of input the code is crash in vista but for same input its working in XP.
Can any one plz tell me what is the possible reason...
aah, this will work. thanks a lotttttttt:)
Actually we want to reduce the minimum system configuration requirement. that's why i am doing all this.:rolleyes:
hi,
Thanks for reply.
Actually my problem is,
I have simulation application with five option available (User choice). I declare a structure, Some part of this structure is common for all option...
Actually i have a structure like
struct struTemp
{
int i;
int j;
.
.
#ifdef POS
Hi,
Is there any way to define the runtime macros.
This is a sample program for multiplication.
#include <stdio.h>
# include <stdlib.h>
typedef struct Number
{
float Base;
int Power;
}NUMBER;
You can store this number using structure like
struct Number
{
double base;
int power;
};
Then you number is like a * 10^b.
Give some more input. What's not working properly. What is the purpose. Is there any error........
void View(ListNode* Help1)
{
system("cls");
printf("First, Second, Last name: %s %s %s\n",Help1->Pointer->Fname,
Help1->Pointer->Sname,Help1->Pointer->Lname);
When view function is...
for i = 21 to 50
{
noVech = i/10 + 1%10;
if(isprime(noVech)
{
if(noVech<10)
{
I think you can try
LOOP:
printf("Hello");
sleep(100);
system("cls");
sleep(100);
goto LOOP;
Hi,
I write a simple program to understand structure padding.
The code is
#include <stdio.h>
# include <string.h>
int main()
{
minesArray = (char**)malloc(dimY*sizeof(char*));
look at the above section of code.
You are allocating memory dimy elements but you are only creating dimx string
for (i = 0; i < dimX; i++)...
strcat is already inbuilt function in string.h so, you have to use some another function name instead of strcat.
Allocate memory before assigning the value and card_table[0] is a pointer so, you must use ->
card_table[0]->w = w;