471,108 Members | 1,611 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,108 software developers and data experts.

"the c prog. lang." prob with win. xp

Does it matter if I use "The C Programming Language" with Windows XP?
I've gotten some of the scripts from it to work, but some don't. Could
this be an issue with Windows? Or an issue with the compiler? And I've
already made sure I didn't mistake parts of the coding. So does anyone
know? Thanks.
Nov 14 '05 #1
2 1545
Matt Suther <dn******@hotmail.com> wrote:
Does it matter if I use "The C Programming Language" with Windows XP?
I've gotten some of the scripts from it to work, but some don't. Could
this be an issue with Windows? Or an issue with the compiler? And I've
already made sure I didn't mistake parts of the coding. So does anyone
know? Thanks.


If you use a standard compliant C compiler(make sure you don't invoke
a compiler that can compile both C and C++ in C++ mode) and you stay
away from chapter 8 (which shows how a few things can be done in UNIX)
you should be just fine. If your problems persist post the code here
(but make sure it's exactly the same you passed to the compiler) with
an explanation of what you think does not work. Also try to get your
compiler to spit out as many warnings as possible and try to understand
what they mean (always start with the first one!).

Regards, Jens
--
\ Jens Thoms Toerring ___ Je***********@physik.fu-berlin.de
\__________________________ http://www.toerring.de
Nov 14 '05 #2
In <6f*************************@posting.google.com> dn******@hotmail.com (Matt Suther) writes:
Does it matter if I use "The C Programming Language" with Windows XP?
Nope.
I've gotten some of the scripts from it to work, but some don't. Could ^^^^^^^
They're called programs in the usual C terminology.
this be an issue with Windows? Or an issue with the compiler? And I've
already made sure I didn't mistake parts of the coding. So does anyone
know? Thanks.


Most likely, it's an issue with your understanding of the environment and
the tools.

Post the simplest program that doesn't work as expected and describe its
actual behaviour and what you actually expected from it. To minimise
your surprises, use the compiler in command line mode (no IDE nonsense)
and run the resulting executable file in a console window, too.

Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Da*****@ifh.de
Nov 14 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

18 posts views Thread by Phill Long | last post: by
1 post views Thread by Doug Telford | last post: by
12 posts views Thread by Unbiased_me | last post: by
38 posts views Thread by Jack Klein | last post: by

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.