Search:

Type: Posts; User: yohanevindra

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    22,673

    HANDLE Cport[16]; char...

    HANDLE Cport[16];


    char comports[16][10]={"\\\\.\\COM1", "\\\\.\\COM2", "\\\\.\\COM3", "\\\\.\\COM4",
    "\\\\.\\COM5", "\\\\.\\COM6", "\\\\.\\COM7", "\\\\.\\COM8",
    ...
  2. Replies
    12
    Views
    22,673

    Hyperterminal is using the same COM port since I...

    Hyperterminal is using the same COM port since I have only this one USB-to-serial adapter.



    Yes..my development board can communicate with Hyperterminal



    I'm assuming that hyperterminal...
  3. Replies
    12
    Views
    22,673

    I can communicate perfectly on hyperterminal....

    I can communicate perfectly on hyperterminal. when i connect the TX and RX pins together, I get what i typed..

    the code that you found in that pdf is what is around the net..plus there's that...
  4. Replies
    12
    Views
    22,673

    When I run my code, it starts of with the "serial...

    When I run my code, it starts of with the "serial port does not exist" error. And then even when I run the library (for which I inserted the link) it gives the error "unable to open the com port"....
  5. Replies
    12
    Views
    22,673

    Windows Serial programming

    I need to program some software to be able to send and receive serial msgs. I've looked at a lot of places on the net, and on MSDN, and here is some code i got from most places on the net.


    ...
  6. Replies
    6
    Views
    917

    thanks for that! yeah...the filename was too...

    thanks for that! yeah...the filename was too small.thanks for that!
  7. Replies
    6
    Views
    917

    #include #include int...

    #include <stdio.h>
    #include <stdlib.h>

    int main()
    {
    int n;
    int p,t;
    t = 1;
    p = 1;
  8. Replies
    6
    Views
    917

    thanks for that! sprintf worked.. tho sprintf...

    thanks for that! sprintf worked..

    tho sprintf attaches a '\0' to the end of the string, but i will have to delete that wouldnt i?otherwise the file operators cant handle the null character right?
  9. Replies
    6
    Views
    917

    varied file reading

    i need t read and write to files. but the problem is there are several of them, and they vary according to numbers..

    for example, i need to read from r1t001, r1t002...and so on, and write to files...
  10. thanks heaps for that kermit!!! will have a...

    thanks heaps for that kermit!!!

    will have a look at those 2 links and also just enabled those 2 extra warnings..hopefully i'll get my program working soon :)
  11. thanks kermit and dwks!!!got it working!!!i...

    thanks kermit and dwks!!!got it working!!!i really need to get upto date on my pointers..i've been learning C for ages and its still hard to get my head around it..know of any good tutorials online?...
  12. ohh..and in the print statement where i print out...

    ohh..and in the print statement where i print out the strings which need to be compared to and the input argument, when i run this program, it jus gives out weird symbols..not what has been input..
  13. ok so void main (int argc, char *argv[]) ...

    ok so


    void main (int argc, char *argv[])

    did the trick. but now my other problem is taking the arguments, and comparing it to other strings and doing something when they're equal. have i...
  14. program crashing despite no errors and warnings

    my main aim here, is to get the command line arguments, and ideally assign them to variables and them and do something.. trouble is, the program doesnt seem to work..and inspite of 0 errors and...
  15. Replies
    5
    Views
    1,799

    i made the changes as suggested and removed the...

    i made the changes as suggested and removed the address operator. but still its the same result..

    in the main file where the thread which writes to the struct is created ive done this


    struct...
  16. Replies
    5
    Views
    1,799

    global structures

    ok..so my program uses threads..but the basics are this...lets say i have file1.c, file2.c and file3.c..

    atm, i have defined the struct in a file called struct_definitions.h... so basically file1...
Results 1 to 16 of 16