473,509 Members | 2,526 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

book for programming

Hi!,
sorry for this cross post, but i am not sure which group is most
relevant to my question.

I am looking for a good book on programming in C/C++ for the intel
processors. If you know of any such material, please post a reply.
thanks,
Craig

Jul 22 '05 #1
4 1446
In <74**************************@posting.google.com > cp*******@yahoo.com (C++ Shark) writes:
sorry for this cross post, but i am not sure which group is most
relevant to my question.
Yup, I can see you're very confused.
I am looking for a good book on programming in C/C++ for the intel
processors. If you know of any such material, please post a reply.


The whole idea behind the design of high level languages is to render the
underlying processor as irrelevant as possible. The language extensions
that *may* be processor specific are usually described in the compiler
documentation, as they are compiler specific.

So, get a good book about C (or C++, if you prefer to start with C++)
and learn the language. After that, pick up an x86 compiler and read its
documentation. Don't expect *everything* you read there to also apply to
another x86 compiler, however. The smart way of programming is to rely
as much as possible on the information from the C book and as little as
possible on the information from the compiler documentation. This way,
your work won't be tied up to one compiler for one processor.

Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Da*****@ifh.de

Jul 22 '05 #2
In comp.lang.c C++ Shark <cp*******@yahoo.com> wrote:
I am looking for a good book on programming in C/C++ for the intel
processors. If you know of any such material, please post a reply.


Define "C/C++". If you mean Standard C, you want K&R2. If you mean
Standard C++, "The C++ Programming Language" is a good one. If (as I
suspect) you mean code that delves into the intracacies of the Intel
x86 platform (probably involving raw assembly), you'll want some book
that neither comp.lang.c nor comp.lang.c++ can recommend (although
K&R2 is likely to be very useful anyway). I've removed those groups
from the followup list. HTH.

--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.

Jul 22 '05 #3
C++ Shark wrote:
Hi!,
sorry for this cross post, but i am not sure which group is most
relevant to my question.

I am looking for a good book on programming in C/C++ for the intel
processors. If you know of any such material, please post a reply.
thanks,
Craig


In addition to what Dan and Christopher have said, you
may want to get a book about your platform or operating system.
Intel has processors in many platforms, ranging from desktop PCs
to embedded systems. For example, I programmed a tape drive
that used an Intel x86 processor and a medical ventilator
that used many 8051 chips.

Some platforms have operating systems. The operating systems
provide some useful services, such as communicating with the
outside world and file storage. However, there are platforms
that don't have an operating system. I programmed some where
the main loop just looped forever and most of the processing
occurred in an Interrupt Service Routine.

So you may want some additional books that discuss your
operating system or platform.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book

Jul 22 '05 #4
I'd like to thank everyone for answering my question. I am currently
looking into Ira Pohl's book, and also the gcc compiler docs. Thanks
again.

Thomas Matthews <Th****************************@sbcglobal.net> wrote in message news:<K9**************@newssvr16.news.prodigy.com> ...
C++ Shark wrote:
Hi!,
sorry for this cross post, but i am not sure which group is most
relevant to my question.

I am looking for a good book on programming in C/C++ for the intel
processors. If you know of any such material, please post a reply.
thanks,
Craig


In addition to what Dan and Christopher have said, you
may want to get a book about your platform or operating system.
Intel has processors in many platforms, ranging from desktop PCs
to embedded systems. For example, I programmed a tape drive
that used an Intel x86 processor and a medical ventilator
that used many 8051 chips.

Some platforms have operating systems. The operating systems
provide some useful services, such as communicating with the
outside world and file storage. However, there are platforms
that don't have an operating system. I programmed some where
the main loop just looped forever and most of the processing
occurred in an Interrupt Service Routine.

So you may want some additional books that discuss your
operating system or platform.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book


Jul 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2205
by: Jim | last post by:
Is The C++ Programming Language (by Stroustrup)a good book for learning C++ programming or it is just a good book for reference? Thanks!
12
8449
by: G. | last post by:
Hi all, During my degree, BEng (Hons) Electronics and Communications Engineering, we did C programming every year, but I never kept it up, as I had no interest and didn't see the point. But now...
7
1863
by: TechBookReport | last post by:
TechBookReport have just published a review of 'C Programming In Easy Steps', if you're a C beginner looking for an intro book (or an ex-C developer looking for a quick refresh), ready why this is...
12
2094
by: Guido Mureddu | last post by:
Hello, I'm a student in electronic engineering. I do know you've seen and answered this sort of topic/request countless times, but I haven't found past threads as helpful as I had hoped, and...
4
2432
by: Berehem | last post by:
I would like some recommendations about what C books would suit me best. I have read the other topics about books, but I thought my case was unique enough to warrant book recommendations again....
6
1716
by: Jon Shemitz | last post by:
My 16 yo son is ready to move beyond level editing and "Multimedia Fusion." He's going to ignore his Mom's suggestion of Visual Basic, and take my suggestion of starting with C#. Now, I actually...
4
1768
by: Mike | last post by:
Hi, I am planning on purchasing VS2005 to learn C# very soon, and I need good book recommendations. I realize this is a question that may be asked a lot, but please consider my background: I...
4
1545
by: blueghost73 | last post by:
I do software support for software that works with both Oracle and SQL Server, so I mostly just write queries to look at the data related to the software. When I first started, I bought a couple of...
4
2643
by: Johs | last post by:
I am looking for a good C++ book for beginners. I have some experience with C and a lot of experience with Java. I am currently reading Bjarne Stroustrups C++ Programming Language but it starts off...
6
1974
by: Hello | last post by:
Hello every body Please can any body tells me a good book that can teach me "visual basic 2005" (as beginner). Thank you all =========================================
0
7233
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7135
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7410
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7067
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7505
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5650
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5060
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3201
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
774
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.