New Project visual c++

microcontroller , visual cpp , coordinates Mexico City, Mexico
  • 10 years ago

    Hello every one,

    I am new in C++ and I have a new project. I have a text file with numbers that are coordinates x,y

    The text files´s format looks like this:

    X Y

    234 678 343 456 193 235

    and so on

    Steps,

    1.- Put all this file in a buffer memory (unsigned char inbuffer [2000], 2.- Display each two coordinates in two text box one for X and one for Y (I dont´t know how to do this) 3.- inbuffer [0] = outbuffer[0] inbuffer [1] = outbuffer[1]

    4.-increment inbuffer + 2 for next two coordinates 5.-Put this data in USB (Resolved) 6.-Microcontroller sends ready bit to receive more data (resolved) 7.-Repeat from step 2 until all data is sended. I really appreciate your help with a little code.

    Regards Carlos

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Linux is only free if your time has no value” - Jamie Zawinski