Search:

Type: Posts; User: ShashiKantSuman

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,151

    Doubt about strtok function

    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>...
  2. Replies
    0
    Views
    967

    Creating Import library from dll

    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...
  3. Replies
    1
    Views
    679

    Query about configuration file.

    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...
  4. Replies
    16
    Views
    3,332

    All; Thanks for your suggestions. After...

    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...
  5. Replies
    16
    Views
    3,332

    All; I am sorry for not uploading any code,...

    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...
  6. Replies
    16
    Views
    3,332

    Code crash in vista not in XP

    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...
  7. Replies
    8
    Views
    4,757

    aah, this will work. thanks a lotttttttt:) ...

    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:
  8. Replies
    8
    Views
    4,757

    hi, Thanks for reply. Actually my problem is,...

    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...
  9. Replies
    8
    Views
    4,757

    Actually i have a structure like struct...

    Actually i have a structure like


    struct struTemp
    {
    int i;
    int j;
    .
    .
    #ifdef POS
  10. Replies
    8
    Views
    4,757

    Runtime macros

    Hi,
    Is there any way to define the runtime macros.
  11. Replies
    12
    Views
    1,413

    This is a sample program for multiplication. ...

    This is a sample program for multiplication.


    #include <stdio.h>
    # include <stdlib.h>
    typedef struct Number
    {
    float Base;
    int Power;
    }NUMBER;
  12. Replies
    12
    Views
    1,413

    You can store this number using structure like ...

    You can store this number using structure like


    struct Number
    {
    double base;
    int power;
    };

    Then you number is like a * 10^b.
  13. Replies
    7
    Views
    2,044

    Give some more input. What's not working...

    Give some more input. What's not working properly. What is the purpose. Is there any error........
  14. void View(ListNode* Help1) { system("cls");...

    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...
  15. Replies
    3
    Views
    1,571

    for i = 21 to 50 { noVech = i/10 + 1%10;...

    for i = 21 to 50
    {

    noVech = i/10 + 1%10;
    if(isprime(noVech)
    {

    if(noVech<10)
    {
  16. Replies
    7
    Views
    1,407

    I think you can try LOOP: printf("Hello");...

    I think you can try


    LOOP:
    printf("Hello");
    sleep(100);
    system("cls");
    sleep(100);
    goto LOOP;
  17. Replies
    4
    Views
    4,297

    Structure padding

    Hi,
    I write a simple program to understand structure padding.
    The code is


    #include <stdio.h>
    # include <string.h>

    int main()
    {
  18. Replies
    6
    Views
    1,201

    minesArray = (char**)malloc(dimY*sizeof(char*));...

    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++)...
  19. Replies
    5
    Views
    2,005

    strcat is already inbuilt function in string.h...

    strcat is already inbuilt function in string.h so, you have to use some another function name instead of strcat.
  20. Allocate memory before assigning the value and...

    Allocate memory before assigning the value and card_table[0] is a pointer so, you must use ->


    card_table[0]->w = w;
Results 1 to 20 of 20