Welcome, Guest. Please login or register.

Author Topic: Help with C? I have a simple(?) problem.  (Read 5208 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Help with C? I have a simple(?) problem.
« on: February 24, 2008, 12:48:25 AM »
stdio has no "print" function.

Also, getchar() works different ways on different systems, if you use it to "pause until user hits a key" that is.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Help with C? I have a simple(?) problem.
« Reply #1 on: February 24, 2008, 01:20:57 AM »
I'd suggest moving that manual to trash.

2nd edition of K&R would be much more useful.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Help with C? I have a simple(?) problem.
« Reply #2 on: February 24, 2008, 01:49:52 AM »
It's a bit hard for me to judge if it would be beneficial. Learning to program is harder for some, and different learning methods work better for some people than others. If I remember it correctly my very first C tinkering happened without much programming manuals at all (I had some autodocs and examples from RKRM IIRC which I played with).

K&R, however, is the very "C bible" if anything is.