Search:

Type: Posts; User: saikgr

Search: Search took 0.01 seconds.

  1. Yes, i only care about hours and minutes. But how...

    Yes, i only care about hours and minutes. But how compare them. I try to compare for example given hour with timeinfo.tm_min (as you can see below text )


    #include <stdio.h>
    #include <time.h>
    ...
  2. How to compare calendar time with a given time from keyboard

    Hallo to all.

    I'm trying to write a console program doing the followings:



    int main(void)
    {
    int hour, min;
    printf("Set the time (like 12:00)");
  3. Replies
    6
    Views
    5,619

    I installed DEV-C++ in another PC (windows xp)...

    I installed DEV-C++ in another PC (windows xp) and tried to write a simple code for a test:

    #include <stdio.h>
    int main(void)
    {
    printf("This is C!");
    return 0;
    }
  4. Replies
    6
    Views
    5,619

    I installed DEV-C++ in another PC (windows xp)...

    I installed DEV-C++ in another PC (windows xp) and tried to write a simple code for a test:

    #include <stdio.h>

    void main(void)
    {
  5. Replies
    6
    Views
    5,619

    Thanks for your help, I have already...

    Thanks for your help,

    I have already downloaded DEV C++ from sourceforge. Besides, i would like to ask that if i implement a C code for win32 OS (vista), could operate in any other OS like windows...
  6. Replies
    6
    Views
    5,619

    Serial port reading data

    Hello,

    I'm trying to read a single byte from a com port using _bios_serialcom function. I'm using windows vista and borland C++ 5.02 compiler. Here is my code:


    /* PC-to-AVR communication – by...
  7. Replies
    2
    Views
    1,037

    Yes, i have seen for the prototype in the header...

    Yes, i have seen for the prototype in the header file and it is 'unsigned _RTLENTRY _bios_serialcom(unsigned __cmd, unsigned __port, unsigned __abyte);' However, i can't find which is the...
  8. Replies
    2
    Views
    1,037

    Error with _bios_serialcom function

    Hallo to everybody,
    I'm writting to this forum for the first time. I use borland C++ 5.02 compiler and i am writting code in order to receive one simple byte from an rs232 port.
    I have included...
Results 1 to 8 of 8