Search:

Type: Posts; User: ArunS

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds; generated 28 minute(s) ago.

  1. What error you are getting? Is the 'path'...

    What error you are getting?
    Is the 'path' allocated memory by malloc?
  2. Replies
    4
    Views
    4,744

    How can you declare a single variable to hold...

    How can you declare a single variable to hold 2-Dimension (Length and Width) value?
    Use two different variable to hold the value from user.
    Your question is about
    What have you tried as a...
  3. Check the value of the 'argc' in main function

    Check the value of the 'argc' in main function
  4. Replies
    8
    Views
    2,303

    Please check with the below typedef struct...

    Please check with the below


    typedef struct myvar* ptr_myvar;
    ptr_myvar function();
  5. Thread: scanf("%d", &x);

    by ArunS
    Replies
    5
    Views
    4,629

    Please check with below code. Execute and see...

    Please check with below code.
    Execute and see what is the value in x.


    int x;
    scanf("%d", &x);
    printf("Integer x = %d, Character x = %c",x,x);
  6. Will your "update_status" function does the same...

    Will your "update_status" function does the same functionality of "invoke_thread_S" function?
    I mean "update_status" function also have code to wakes a thread S?
  7. I am very sorry, i'm confused. What is the value...

    I am very sorry, i'm confused.
    What is the value for c and Messages[k][2] in the iteration?

    Let me ask one straight question.
    Put the K value as per below in the printf statement and let us know...
  8. If you do not want the another file really, then...

    If you do not want the another file really, then you may use the library functions fseek() and ftell() to find out the number of characters written on the source file.
  9. Replies
    6
    Views
    2,678

    From your input which you shared, Check the...

    From your input which you shared,
    Check the logic on
    1. last line printing.
    2. Why there is space instead of $ symbol on second line.
  10. Replies
    16
    Views
    38,521

    Probably you can use "%[^\n]%*c" or ...

    Probably you can use
    "%[^\n]%*c"
    or

    "%[^\n]s"
    in scanf format specifier.
    This may help you, I am not sure.
  11. Replies
    3
    Views
    781

    while(selection5); Is it valid as...

    while(selection<1||selection>5);
    Is it valid as per your requirement?
  12. Thread: c program help

    by ArunS
    Replies
    5
    Views
    1,279

    Instead of int a[3][3] try with int a[4][4]

    Instead of
    int a[3][3]
    try with
    int a[4][4]
  13. Replies
    12
    Views
    1,190

    #include #include int...

    #include <stdlib.h>
    #include <stdio.h>
    int main(void)
    {
    float totalPaid=0.0, r=(0.22/12), B=5000.0, P=0.0;
    printf("\nEnter your monthly payment: $");
    scanf("%f", &P);
    printf("\nAnnual...
  14. Replies
    3
    Views
    1,690

    replace the while with do and put the while at...

    replace the while with do and put the while at end of switch with a valid condition checking.
  15. I already try that typecasting, but it doesn't...

    I already try that typecasting, but it doesn't work.
    because while in the actual scenario, calling of this the function could seems like,


    RegOpenKeyEx(HKEY_LOCAL_MACHINE,...
  16. How to update the value of LPCTSTR lpSubKey in RegOpenKeyEx()?

    I just want to open a key in a registry(Windows XP) using RegOpenKeyEx() function which takes the second argument as path of the registry key. The second argument type is LPCTSTR (means pointer to a...
  17. Its an USB device. I have the driver software for...

    Its an USB device. I have the driver software for that particular device and installed in the PC.
    Whenever i connected to PC, its having a entry point in Device Manager.
    (By manually, I can go and...
  18. For the first time, user will provide the driver...

    For the first time, user will provide the driver software for their H/W to OS.
    But there after, if user connected the device to PC after sometime, our program has to detect, exactly on which port...
  19. how to detect the hardware(Serial Port) using visual studio?

    May I know, from which API we can find out exactly our hardware is connected on which port?
    I know about my H/W vendor ID, so with the help of that I want to know exactly on which port my device is...
  20. You did not use Results[4][3] array which...

    You did not use Results[4][3] array which actually has to store all the results.
    So whenever your getting the input from user, store it in that particular array and last display it.
  21. What is the exact output do you want?

    What is the exact output do you want?
  22. Have you tried only admin[column] or what exactly...

    Have you tried only admin[column] or what exactly did changes on your code?
    Post your changed code only and also post the results
  23. what do you mean?

    what do you mean?
  24. Then what is the purpose of Code Tags?...

    Then what is the purpose of Code Tags?
    Announcements - General Programming Boards
  25. First up all, Do not attach any file in this...

    First up all, Do not attach any file in this forum. Read the Rules.
    I do not know what is the logic behind the below line.
    Anyway I found out some small things. Red color means changes, Green Color...
Results 1 to 25 of 70
Page 1 of 3 1 2 3