By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,955 Members | 1,768 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,955 IT Pros & Developers. It's quick & easy.

interface

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

begi
Jun 17 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
begi wrote:
Is C++ good for write programming for interface pc with electronic
device with port (serial, parallel, usb)?
It's suitable.
or other language is better? which?
C, Assembly language, are eqally suitable.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Jun 17 '07 #2

P: n/a
"begi" <be******@gmail.comwrote in message
news:yX********************@twister1.libero.it...
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.
Jun 17 '07 #3

P: n/a
On Jun 17, 10:47 pm, "begi" <begi2...@gmail.comwrote:
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.

Jun 18 '07 #4

P: n/a
Sarath wrote:
On Jun 17, 10:47 pm, "begi" <begi2...@gmail.comwrote:
>Is C++ good for write programming for interface pc with electronic device
with port (serial, parallel, usb)?
or other language is better? which?

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.

--
Ian Collins.
Jun 18 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.