Thanks Bandit. I am busy with my team today, but I am sure I will ping you on some questions in the future.<br><br>Cheers<br>Rayc<br><br><div class="gmail_quote">On Sat, Mar 10, 2012 at 4:11 PM, bandit <span dir="ltr"><<a href="mailto:bandit@cruzio.com">bandit@cruzio.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Find an example program in "learn 21" that does something like you want to<br>
do.<br>
Get it working.<br>
Then start changing it to do what you want.<br>
Make sure each change works.<br>
<br>
This is probably better than just doing the exercises.<br>
"Learn 21" does a good job of describing the pieces of the language.<br>
<br>
Hint: learn how to use printf()<br>
A slime trail is one of the most valuable debugging tools there is.<br>
It is my standard method.<br>
<span class="HOEnZb"><font color="#888888"><br>
... bandit<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
> On Mar 9, 2012 4:22 PM, "Robert Chu" <<a href="mailto:robertayoungchu@gmail.com">robertayoungchu@gmail.com</a>> wrote:<br>
>><br>
>> Harvey (who comes in at night usually) was tutoring me on C, and he said<br>
> he didn't like how the book I was using layed out it's code exercises.<br>
>> So I am a little on the fence about continuing with Learn C in 21 Days.<br>
>> .<br>
><br>
> This is a mistake I make all the time, don't worry too much about<br>
> optimizing how you learn. To be honest it doesn't matter if you're using<br>
> the absolute best tool or not, any book is going to get the job done.<br>
><br>
> This is especially true when it comes to computer programming. No book can<br>
> ever teach you how to program, you teach yourself and the book is there to<br>
> make it easier to teach yourself.<br>
><br>
>> I most likely will focus more on comprehending it then working with the<br>
> code exercises there<br>
><br>
> This is a terrible idea, the most important thing you can do is exercise<br>
> the things you've learned by practicing and trying them out with real<br>
> code.<br>
> The arguments you will have with your compiler are invaluable.<br>
><br>
> - Brian<br>
><br>
>> Cheers<br>
>> Rayc<br>
>><br>
>> On Fri, Mar 9, 2012 at 3:49 PM, Matt Joyce <<a href="mailto:matt@nycresistor.com">matt@nycresistor.com</a>> wrote:<br>
>>><br>
>>> Remember...<br>
>>><br>
>>> Be a pointer.<br>
>>><br>
>>> On Fri, Mar 9, 2012 at 3:31 PM, Robert Chu <<a href="mailto:robertayoungchu@gmail.com">robertayoungchu@gmail.com</a>><br>
> wrote:<br>
>>> > I remember you Bandit, thanks for support by being open to answering<br>
>>> > questions.<br>
>>> ><br>
>>> > Cheers<br>
>>> > Rayc<br>
>>> ><br>
>>> ><br>
>>> > On Fri, Mar 9, 2012 at 3:20 PM, jim <<a href="mailto:jim@well.com">jim@well.com</a>> wrote:<br>
>>> >><br>
>>> >><br>
>>> >> how's your assembler on *nix?<br>
>>> >><br>
>>> >><br>
>>> >><br>
>>> >> On Fri, 2012-03-09 at 14:35 -0700, bandit wrote:<br>
>>> >> > I happen to be a C expert (30+ years, well over a million LOC as a<br>
>>> >> > guess).<br>
>>> >> > I am glad to answer C questions when I am at NB on Saturdays.<br>
>>> >> > (I am the guy with one hand.)<br>
>>> >> ><br>
>>> >> > I recommend "Learn C in 21 days" over the white book.<br>
>>> >> > The white book (K&R 2) is the absolute best piece of tech writing<br>
>>> I<br>
> have<br>
>>> >> > ever seen,<br>
>>> >> > but for a beginner, "21 days" is better - it breaks the pieces<br>
>>> down<br>
>>> >> > better.<br>
>>> >> ><br>
>>> >> > ... bandit<br>
>>> >> ><br>
>>> >> ><br>
>>> >> > ><br>
>>> >> > ><br>
>>> >> > >     Great! I've been lonely in there the last several<br>
>>> >> > > weeks. Note that Robert is finishing up his SQL class<br>
>>> >> > > at 6 PM and tends to run over. We can deal with that.<br>
>>> >> > >     Note also that the format is specified as "study<br>
>>> >> > > group" rather than class. The idea is that we're all<br>
>>> >> > > humbly studying along trying to help each other; the<br>
>>> >> > > class format is that some one person goes blah blah...<br>
>>> >> > > and everybody else has to shut up and listen.<br>
>>> >> > >     In fact, mostly the C part of things has been a<br>
>>> >> > > class, but that's entirely negotiable per your (and<br>
>>> >> > > anyone-else-who-shows-up's) wishes.<br>
>>> >> > >     You've got access to a linux computer, yes?<br>
>>> >> > ><br>
>>> >> > ><br>
>>> >> > ><br>
>>> >> > > On Thu, 2012-03-08 at 12:03 -0800, Robert Chu wrote:<br>
>>> >> > >> Thank you all for recommendations so far.<br>
>>> >> > >><br>
>>> >> > >><br>
>>> >> > >> Daravine: if I could borrow The C Programming Language, 2nd<br>
> Edition,<br>
>>> >> > >> by Kernighan and Ritchie. That would be wonderful.<br>
>>> >> > >><br>
>>> >> > >><br>
>>> >> > >> Andy: Thank you for the recommendations.<br>
>>> >> > >><br>
>>> >> > >><br>
>>> >> > >> Jim: I am looking into coming in on Tuesdays to attend the C<br>
> class.<br>
>>> >> > >><br>
>>> >> > >><br>
>>> >> > >><br>
>>> >> > >><br>
>>> >> > >> Thanks for all the given and upcoming recommendations<br>
>>> >> > >> Cheers<br>
>>> >> > >> Rayc<br>
>>> >> > >><br>
>>> >> > >> On Thu, Mar 8, 2012 at 11:52 AM, jim <<a href="mailto:jim@systemateka.com">jim@systemateka.com</a>><br>
>>> wrote:<br>
>>> >> > >><br>
>>> >> > >>            Why don't you come by the Turing classroom at 6 PM<br>
>>> >> > >>         some Tuesday evening. That place/time is scheduled for<br>
>>> >> > >>         C programming (and assembler, per interest) on Linux.<br>
>>> >> > >><br>
>>> >> > >>            As to books, that depends on your experience. If you<br>
>>> >> > >>         have little or no programming experience, then Stephen<br>
>>> >> > >>         Kochan's ANSI C is probably the best book--it is not<br>
>>> >> > >>         complete but it's a really well written intro to the<br>
>>> >> > >>         language. Also Steven Prata (C Primer Plus) and Robert<br>
>>> >> > >>         LaFore (I forget the title) have very good books for<br>
>>> >> > >>         people just getting into C.<br>
>>> >> > >><br>
>>> >> > >>            One of the best books for those who are serious was<br>
>>> >> > >>         put out by MIX publishing. It claims it's written for<br>
>>> >> > >>         intermediate level students, but those must be some<br>
>>> smart<br>
>>> >> > >>         and/or determined intermediates. It's divided into two<br>
>>> >> > >>         sections, tutorials and reference. Both sections have<br>
>>> >> > >>         lots and lots of examples, and to have example code for<br>
>>> >> > >>         each library function is rare in a book.<br>
>>> >> > >>            I donated a couple of copies to the library. I'm<br>
>>> >> > >>         afraid that some pinhead threw them out because they're<br>
>>> >> > >>         written for MS-DOS. That they're written for MS-DOS has<br>
>>> >> > >>         nothing to do with their value. It's the explanations<br>
>>> and<br>
>>> >> > >>         example code that's valuable.<br>
>>> >> > >><br>
>>> >> > >>            The K&R book has two editions: you probably have the<br>
>>> >> > >>         ANSI C edition; check to be sure, as the older edition<br>
>>> is<br>
>>> >> > >>         pre-ANSI spec and in a few ways will throw you off.<br>
>>> >> > >><br>
>>> >> > >>            There is a huge number of tutorials on the internet.<br>
>>> >> > >>         It takes time to sort through those that make sense to<br>
> you.<br>
>>> >> > >>         I have links to some that I like. Wikipedia has very<br>
>>> good<br>
>>> >> > >>         info on C programming.<br>
>>> >> > >><br>
>>> >> > >><br>
>>> >> > >><br>
>>> >> > >><br>
>>> >> > >><br>
>>> >> > >><br>
>>> >> > >>         On Thu, 2012-03-08 at 07:01 -0800, Robert Chu wrote:<br>
>>> >> > >>         > Good morning Noisebridge Community,<br>
>>> >> > >>         ><br>
>>> >> > >>         ><br>
>>> >> > >>         > I have decided to start learning C programming and<br>
>>> was<br>
>>> >> > >>         wondering if<br>
>>> >> > >>         > anybody could give me good recommendations on: books,<br>
>>> >> > >>         videos, talks,<br>
>>> >> > >>         > papers, etc. So far I am studying from the book Sam's<br>
> Teach<br>
>>> >> > >>         Yourself C<br>
>>> >> > >>         > in 21 Days Sixth Edition.<br>
>>> >> > >>         ><br>
>>> >> > >>         ><br>
>>> >> > >>         > All resource recommendations are greatly appreciated,<br>
> and<br>
>>> >> > >>         most likely<br>
>>> >> > >>         > would be a catalyst to my learning.<br>
>>> >> > >>         ><br>
>>> >> > >>         ><br>
>>> >> > >>         > Cheers<br>
>>> >> > >>         > Rayc<br>
>>> >> > >><br>
>>> >> > >>         > _______________________________________________<br>
>>> >> > >>         > Noisebridge-discuss mailing list<br>
>>> >> > >>         > <a href="mailto:Noisebridge-discuss@lists.noisebridge.net">Noisebridge-discuss@lists.noisebridge.net</a><br>
>>> >> > >>         ><br>
>>> >> > >><br>
>>> >> > >> <a href="https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss" target="_blank">https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss</a><br>
>>> >> > >><br>
>>> >> > >><br>
>>> >> > >><br>
>>> >> > >><br>
>>> >> > >><br>
>>> >> > >> _______________________________________________<br>
>>> >> > >> Noisebridge-discuss mailing list<br>
>>> >> > >> <a href="mailto:Noisebridge-discuss@lists.noisebridge.net">Noisebridge-discuss@lists.noisebridge.net</a><br>
>>> >> > >> <a href="https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss" target="_blank">https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss</a><br>
>>> >> > ><br>
>>> >> > ><br>
>>> >> > ><br>
>>> >> > ><br>
>>> >> ><br>
>>> >> ><br>
>>> >><br>
>>> >><br>
>>> >> _______________________________________________<br>
>>> >> Noisebridge-discuss mailing list<br>
>>> >> <a href="mailto:Noisebridge-discuss@lists.noisebridge.net">Noisebridge-discuss@lists.noisebridge.net</a><br>
>>> >> <a href="https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss" target="_blank">https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss</a><br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> > _______________________________________________<br>
>>> > Noisebridge-discuss mailing list<br>
>>> > <a href="mailto:Noisebridge-discuss@lists.noisebridge.net">Noisebridge-discuss@lists.noisebridge.net</a><br>
>>> > <a href="https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss" target="_blank">https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss</a><br>
>>> ><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Noisebridge-discuss mailing list<br>
>> <a href="mailto:Noisebridge-discuss@lists.noisebridge.net">Noisebridge-discuss@lists.noisebridge.net</a><br>
>> <a href="https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss" target="_blank">https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss</a><br>
>><br>
><br>
<br>
<br>
</div></div><div class="im HOEnZb">--<br>
<a href="mailto:bandit@cruzio.com">bandit@cruzio.com</a><br>
<a href="tel:505-228-8197" value="+15052288197">505-228-8197</a><br>
<a href="http://bandit.name" target="_blank">bandit.name</a><br>
<br>
I am a systems engineer, specializing in:<br>
- Mission-Critical embedded systems<br>
- device drivers<br>
- control and data acquisition systems<br>
My stuff *works* - *all the time*.<br>
<br>
Member: INCOSE.org, PACA.org, IEEE.org, CaliforniaConsultants.org, <a href="http://quelab.net" target="_blank">quelab.net</a><br>
<br>
And to support my son: Proud members of the New Mexico .NET User Group.<br>
Please go to the community website at <a href="http://www.nmug.net" target="_blank">www.nmug.net</a>.<br>
<br>
<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Noisebridge-discuss mailing list<br>
<a href="mailto:Noisebridge-discuss@lists.noisebridge.net">Noisebridge-discuss@lists.noisebridge.net</a><br>
<a href="https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss" target="_blank">https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss</a><br>
</div></div></blockquote></div><br>