From: "adr via 9fans" <9fans@9fans.net>
To: 9fans <9fans@9fans.net>
Subject: [9fans] Re: Learning C the hard way
Date: Sun, 20 Aug 2023 08:05:21 -0400 [thread overview]
Message-ID: <16925331210.4EBa6.779283@composer.9fans.topicbox.com> (raw)
In-Reply-To: <16925256420.2CAEa1.581760@composer.9fans.topicbox.com>
[-- Attachment #1: Type: text/plain, Size: 423 bytes --]
Hi, plan6?
Your newlines are feeding the next getchar. You don't want to read chars, you want to read strings.
Read the documentation, don't use stdio.h, explore the 9 way...
Regards,
adr
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tcb666367f7ec3af5-Me54e289c46e8d4a3f30e66dc
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
[-- Attachment #2: Type: text/html, Size: 1009 bytes --]
next prev parent reply other threads:[~2023-08-20 12:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-20 10:00 [9fans] " plan6
2023-08-20 12:05 ` adr via 9fans [this message]
2023-08-20 12:48 ` [9fans] " plan6
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16925331210.4EBa6.779283@composer.9fans.topicbox.com \
--to=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).