[9fans] Re: Learning C the hard way

2023-08-20 Thread plan6
Thanks adr and Frank (who answered my email) :) I will explore your solutions and read the documentation. You pointed my problem with accuracy and I'm very thankful for that :) -- 9fans: 9fans Permalink:

[9fans] Re: Learning C the hard way

2023-08-20 Thread adr via 9fans
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:

[9fans] Learning C the hard way

2023-08-20 Thread plan6
Well, I made a mistake. Holiday time and I just took my 9front x230 with me, thinking it will be enough to learn C the hard way. With man pages and sources. I was wrong :/ nsurf is cool, but kind of slow and I'm stuck with my very first program. A very ridiculous chess UI (in text mode) I