Shop OBEX P1 Docs P2 Docs Learn Events
c book? — Parallax Forums

c book?

johnprokojohnproko Posts: 121
edited 2014-05-07 15:26 in General Discussion
hello all.
probably a question that everyone wants to know.
will there be a book-manual on how to program with c? like the one that was with the boe-bot?
thank you in advance!

Comments

  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2014-05-03 05:05
    A whole book? I am not sure. But having a PDF that presents the Propeller.lib, the SimpleIDE.lib, and the other libraries that are unusual and specific to the Propeller would be useful. As it is, I am studying the original code. And I rely very heavily on the classic text by Kernighan & Richie, The C Propgraming Language:2ed - ANSI C.

    For me, the huge advantage is that it is short and well-written.

    I get the feeling that Parallax really wants to publish through the LEARN site and not actually publish books at this point. Catalina C seems to have more example code at this point than SiimpleIDE and GCC. So that my feed your appetite for reading material on the short term.
  • RDL2004RDL2004 Posts: 2,554
    edited 2014-05-03 05:58
    There is a lot of C and C++ programming information at this site:

    http://www.cprogramming.com/

    It should at least get you started.
  • kwinnkwinn Posts: 8,697
    edited 2014-05-03 12:00
    Good for Parallax. I'm all in favor of e-publishing, particularly for computer related topics. You need to have a computer to really study programming so using e-books is a perfect fit. Why cut down our forests and pollute our waters to produce paper, then print and ship books, which requires energy and creates more pollution, and then top it off by having to recycle or dispose of them when they are no longer of use?
    ..............................................


    I get the feeling that Parallax really wants to publish through the LEARN site and not actually publish books at this point. Catalina C seems to have more example code at this point than SiimpleIDE and GCC. So that my feed your appetite for reading material on the short term.
  • Heater.Heater. Posts: 21,230
    edited 2014-05-03 12:24
    Loopy,

    I love that XCD cartoon you have put in your avatar image. But it's too small to read there. Can we have the freaky alien animal thingy back again?
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2014-05-04 08:18
    If you want Parallax material in particular..... Try searching PARALLAX LEARN GCC

    or just go here >>>> http://learn.parallax.com/

    The information is all there, well-written, and the Libraries show what exists AND what is under development. I am very happy with this as it is all very short and clear.
  • PublisonPublison Posts: 12,366
    edited 2014-05-04 08:26
    I found "C In a Nutshell" usefull also:

    http://www.amazon.com/C-Nutshell-In-OReilly/dp/0596006977
  • jazzedjazzed Posts: 11,803
    edited 2014-05-04 08:36
    A Propeller C version of a familiar Parallax offering is on the way. Not sure about the schedule, but there is at least one draft.
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2014-05-04 11:40
    Heater. wrote: »
    Loopy,

    I love that XCD cartoon you have put in your avatar image. But it's too small to read there. Can we have the freaky alien animal thingy back again?

    Not sure where I put it.. we will see.

    Regarding trees...........
    I do realize that books consume a lot of trees... in fact over half the wood cut down world-wide goes to paper. But I am a bit conflicted about reading everything as an e-book is more noble and better for the environment than a book in print... bits of plastic, batteries, solvents, etc.

    Maybe we should do away with grocery bags and toilet paper. We have already vastly reduced newspaper distribution and we still have global warming... plus the media we do now have seems more concerned with what goes viral rather than the need-to-have-an-informed public. Then there are all those nasty cardboard boxes that our computers and printers and monitors come in... more trees

    I just look at all the pollution in Asia and see most of it is from the high tech boom. But, I did live in Eugene, Oregon at a time when it had 20 lumber mills and it now only has 2 or 3 ... because the trees are gone.

    If you want to save the orangutans and forests of Indonesia, you really should give up soap and shampoo. Palm oil plantations have boomed over the ever increasing demand for these. World trade might just continue to hack away at the wildwood and old growth forests even with ebooks.

    In sum, if we simply remove half the population from the planet post haste... we can pretty much have a hiatus with about half the problems. Even parking spaces would be freed up.

    So above all, do not breed. Pogo and I have been deeply dismayed since EarthDay 1971.
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2014-05-04 11:44
    Publison wrote: »
    I found "C In a Nutshell" usefull also:

    http://www.amazon.com/C-Nutshell-In-OReilly/dp/0596006977

    I believe that if you intend to buy OReilly publications... when you buy direct you they offer a 'buy two and get one free' policy. They have a lot of good titles.

    And, OReilly does have the same offer for ebook versions. We just still need to burn a bit of fossil fuel to provide the electricity.
  • bill190bill190 Posts: 769
    edited 2014-05-05 07:22
    Get a couple of books. Sometimes one book will explain something the other book does not cover very well. Be sure they are different authors and different books. Note some books seem to be copies of the same information lately!

    Also save a copy of a C Reference Card, then make a shortcut on your computer so you can easily call that up. Here is one...
    http://users.ece.utexas.edu/~adnan/c-refcard.pdf

    Or search google.com for the words... C Reference Card

    Also might want to search google.com for... C Tutorial
    Then save some of the better links.

    And find/save example C programs which work with your C compiler. It may be easier to modify an existing program than to start from scratch.
  • Steph LindsaySteph Lindsay Posts: 767
    edited 2014-05-05 08:46
    johnproko wrote: »
    hello all.
    probably a question that everyone wants to know.
    will there be a book-manual on how to program with c? like the one that was with the boe-bot?
    thank you in advance!

    Hi johnproko,

    The ActivityBot web tutorial is similar to Robotics with the Boe-Bot, in that it covers building the robot kit and programming it in C to navigate with circuits you build on the breadboard.
    http://learn.parallax.com/activitybot

    To give you an overview of the multi-core concept, help you set up the software, and get familiar with beginning C programming, this tutorial will send you on little side-trip links to the first few Propeller C Tutorials:

    Propeller Brains for Your Inventions, an conceptual overview of the multi-core idea, functions, and libraries

    Set Up SimpleIDE, for getting the software

    Start Simple, for a first taste of C programming

    Functions, for more on how C functions work and how to use them

    There are other Propeller C Tutorials for common circuits, using sensors and accessories, making your own library, and communication protocols. We will continue to add lessons in these "books" frequently, as well as add new "books" to the list.
    Propeller C Tutorials

    Enjoy exploring!
  • Steph LindsaySteph Lindsay Posts: 767
    edited 2014-05-05 08:55
    kwinn wrote: »
    Good for Parallax. I'm all in favor of e-publishing, particularly for computer related topics. You need to have a computer to really study programming so using e-books is a perfect fit. Why cut down our forests and pollute our waters to produce paper, then print and ship books, which requires energy and creates more pollution, and then top it off by having to recycle or dispose of them when they are no longer of use?

    Thanks kwinn, it's nice to know this format is working for you! This format allows us to release new lessons and project much more frequently, and also to update existing material as Andy continues to make additions and improvements to the C libraries that the Propeller C Tutorials use.

    For those who prefer to work offline, you can go to the first page in any tutorial, click on the "Printer-friendly version" link, and the entire tutorial with all its sub-pages will be compiled into a single html file that you can save, print to a PDF, or whatever you like. The link is currently on the bottom-left of each page (though that may move soon since we're planning navigation and layout improvements.)
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2014-05-06 20:49
    Heater. wrote: »
    Loopy,

    I love that XCD cartoon you have put in your avatar image. But it's too small to read there. Can we have the freaky alien animal thingy back again?

    @Heater
    Is this avatar to your liking?
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2014-05-06 20:57
    Here is a nice C Tutorial pdf that I am reading currently.... short enough to consider printing out. And more up-to-date than the 1989 ANSI standard.
  • kwinnkwinn Posts: 8,697
    edited 2014-05-07 15:26
    Thanks kwinn, it's nice to know this format is working for you! This format allows us to release new lessons and project much more frequently, and also to update existing material as Andy continues to make additions and improvements to the C libraries that the Propeller C Tutorials use.

    For those who prefer to work offline, you can go to the first page in any tutorial, click on the "Printer-friendly version" link, and the entire tutorial with all its sub-pages will be compiled into a single html file that you can save, print to a PDF, or whatever you like. The link is currently on the bottom-left of each page (though that may move soon since we're planning navigation and layout improvements.)

    Thanks Steph, that's good to know. I will be starting to use C for the prop in a while.
Sign In or Register to comment.