Search:

Type: Posts; User: ushacy

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,311

    It is becuase of structure padding.. just reffer...

    It is becuase of structure padding.. just reffer to structure padding concept in net... you will get the solution
  2. Help in using multimedia timers in eclipse for c

    I am writing a code using multimedia timer, where i have to include the library winmm.h with out that it will not work. But i am not getting how to include this in my c project. is it possible to...
  3. Replies
    4
    Views
    2,056

    anyone please help me in, how to avoid the busy...

    anyone please help me in, how to avoid the busy wait loop in my code. am fed up with this.. but i want this to run continiously(periodically for every 100 ms) all eg. in net used while 1 loop only.
    ...
  4. Replies
    4
    Views
    2,056

    Thank you for your feedback. i definetly follow...

    Thank you for your feedback. i definetly follow it. as per you told i have changed my code like this



    int main()
    {
    struct timeval tv;
    long msec;
    gettimeofday(&tv,NULL);
    ...
  5. Replies
    4
    Views
    2,056

    Help me in this milli second timer

    :confused:
    I have a timer function which has to printf the current time for every 100 milliseconds that means in 1 second it has to come for 10 times, but in my code its is going somewhere wrong and...
  6. Replies
    8
    Views
    10,694

    [QUOTE=ushacy;1069661]Ya you are right ,, if i...

    [QUOTE=ushacy;1069661]Ya you are right ,, if i try to change the type of windows data types it will through a erro but here my requirement is like this ... i have to redefine the windows data type to...
  7. Replies
    8
    Views
    10,694

    Ya you are right ,, if i try to change the type...

    Ya you are right ,, if i try to change the type of windows data types it will through a erro but here my requirement is like this ... i have to redefine the windows data type to my own definition as...
  8. Replies
    8
    Views
    10,694

    Thanks for your help. but my requirement is like...

    Thanks for your help. but my requirement is like this :

    if i define BOOL as unsigned char then i have to use the same all over the programme , if BOOL is not defined as unsigned char then it has...
  9. Replies
    8
    Views
    10,694

    typedefining the BOOL as unsigned char

    Hi can anyone please tell me how can i typedef the BOOL to unsigned char , if it is defined , but if we havt define the BOOL as unsigned char then it has to take the defualt bool (windows BOOL).

    ...
  10. my question is very simple i dont know y u ppl...

    my question is very simple i dont know y u ppl are not undrestanding.. i have to convert a string to ascii in c means if i have abcd efgh it should give ascii value of 616263642065666768 and 20 is...
  11. how to avoid converting a space to ascii value

    Hi ,
    I am facing a problem in converting a string to ascii without considering the space . i.e if space come then it has to be considered as space only not an ascii value of space. please help me in...
  12. Replies
    1
    Views
    1,515

    windows timer implemented in c help!!!

    Hi everyone i have my timer implementation using win32 api's written in c . but these API's are not working please help me soon.


    Code:
    #define _WIN32_WINNT 0x0500
    #include <stdio.h>
    #include...
  13. Replies
    2
    Views
    4,268

    Pause and resume in c

    Hello,

    I want to implement a pause and resume functionality in my c programme.

    if i call pause , my programme has to wait for user input .. if user inputs a data then it has to resume from...
  14. Replies
    8
    Views
    1,122

    hey make your process to take more time for eg....

    hey make your process to take more time for eg. put some sleep(2000) in for loop then you will get the time as 1.99999 like this...
  15. calling a function with the variable as a function name please help

    /*
    * eg4.c
    *
    * Created on: Aug 23, 2011
    * Author: UshaC1
    */
    /*******************************************************************************
    ** Include Section ...
  16. Replies
    3
    Views
    1,721

    #include #include...

    #include<sys/time.h>
    #include<stdio.h>
    #include<time.h>
    #include<string.h>
    #include"stdlib.h"
    //extern int g_stop_application;
    int SetTimer(struct timeval *, int);
    int CheckTimer(struct...
  17. Replies
    3
    Views
    1,721

    problem with the scheduler

    Attached my code for a scheduler that schedules a task periodical. But in my code i have taken different periods and need to set the timer for those periods and i should use single timer for this ....
Results 1 to 17 of 17