interface

B

begi

Is C++ good for write programming for interface pc with electronic device
with port (serial, parallel, usb)?
or other language is better? which?

begi
 
J

Jim Langston

begi said:
Is C++ good for write programming for interface pc with electronic device
with port (serial, parallel, usb)?
or other language is better? which?

You'll need to use some 3rd party library, or write inline assembly.

So C++ and inline assembly is a good choice.
Or pure Assembly.
 
S

Sarath

Is C++ good for write programming for interface pc with electronic device
with port (serial, parallel, usb)?
or other language is better? which?

begi

Actaully C makes sense while dealing with low-level programming. It
also allows to write programs in assembly language. As C++ is an
extention or Superset of C, there's no problem in using a C++ compiler.
 
I

Ian Collins

Sarath said:
Actaully C makes sense while dealing with low-level programming. It
also allows to write programs in assembly language.

Ditto C++.
As C++ is an
extention or Superset of C, there's no problem in using a C++ compiler.
No, it is not. It is a superset of the common subset of C and C++.
There are many differences, some subtle, others not. C should be
compiled with a C compiler unless you have a good reason not to and know
what you are doing.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,292
Messages
2,571,498
Members
48,185
Latest member
abhaysingh01

Latest Threads

Top