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

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

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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.