Menu

Beginer asking for help!

2007-08-25
2012-09-26
  • ivan perino

    ivan perino - 2007-08-25

    My name is Ivan Perino.

    I am trying to start programming...
    I know enough of C but C++... it is not my best skill.
    I have to use the RS232 interface and I dont know how I can do it with Dev-C++.

    I`ll realy appreciate any help from anybody.
    THANKs in advance!

     
    • Nobody/Anonymous

      nib

       
    • Osito

      Osito - 2007-08-25

      Is there a reason you need to do it in C++ and not C, if you're stronger in C?

      I learned most of what I know about serial communications here:

      http://msdn2.microsoft.com/en-us/library/ms810467.aspx

      I recently wrote an app that controls a bunch of serial devices (some plain text, some modbus) and most of the serial code came from that webpage.

       
    • Anonymous

      Anonymous - 2007-08-26

      The subject has been dealt with numerous times on the forum. It has a search facility. You will notice that I invariably post a link to the same article Osito mentioned. There are other methods ( http://sourceforge.net/forum/message.php?msg_id=3624054 )

      The .NET 2.0 framework has a serial communications class that makes it all much easier. However you cannot use .NET with Dev-C++. And in turn, .NET is easier in C# rather than C++.

      Clifford

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.