Programming
  • JJ
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    JJ
    Posts: 147 from 2010/7/7
    From: Wales
    Hi

    Are there any good starter guides or tutorials on programming in MorphOS. I am an okish java developer but do not have any c or C++ experience. I have downloaded the SDK but not any easy help there.

    Any help thanks
    We don't stop playing because we grow old; we grow old because we stop playing. - George Bernard Shaw


    Xbox Live: S0ulA55a551n2
  • »10.09.14 - 19:00
    Profile
  • JJ
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    JJ
    Posts: 147 from 2010/7/7
    From: Wales
    Thanks for the site link. Any recommendations on a c(++) book. ?
    We don't stop playing because we grow old; we grow old because we stop playing. - George Bernard Shaw


    Xbox Live: S0ulA55a551n2
  • »12.09.14 - 21:27
    Profile
  • Moderator
    Kronos
    Posts: 2362 from 2003/2/24
    If you really just need a reference/introduction to the languages and allready know how to code, you should just start with the obvious Kernighan/Ritchie (C) or Stroustrup (C++).

    If you also need some coding lessons you have a wide choice from "..... for Dummies" to books discussing special purpose algorithms.
  • »13.09.14 - 08:19
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Tcheko
    Posts: 538 from 2003/2/25
    From: France
    There is numerous free PDF for learning C programming. For example : http://c.learncodethehardway.org/book/

    Happy reading.
    Quelque soit le chemin que tu prendras dans la vie, sache que tu auras des ampoules aux pieds.
    -------
    I need to practice my Kung Fu.
  • »13.09.14 - 09:35
    Profile Visit Website
  • Butterfly
    Butterfly
    rebraist
    Posts: 96 from 2011/4/6
    From: Naples, Italy
    Stay away from academic stuff like stroustrup, schildt and kernighan Ritchie. If you want to learn C/C++ without wasting time buy the books by deitel & deitel: if you already have a little experience in coding you'll learn c in a very short time.D&D books are practical with good advise on software engineering too.
    Mac Mini g4 1,5 mos 3.1 registered
    Powerbook g4 1,67 mos 3.1 unregistered
    Sam440 Os4.1.6
    Aros-Aros-Aros.
  • »13.09.14 - 14:35
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    ausPPC
    Posts: 543 from 2007/8/6
    From: Pending...
    This is a fairly large collection of C tutorial material aimed at HaikuOS but possibly still of interest here - http://darkwyrm-haiku.blogspot.com/
    PPC assembly ain't so bad... ;)
  • »13.09.14 - 21:15
    Profile Visit Website
  • JJ
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    JJ
    Posts: 147 from 2010/7/7
    From: Wales
    Thanks for all advice. I can code okiish. I'm oracle certified :).

    So I take it I can use c or c++,to compile for morphos. So guessing I would be better off learning c++ ?
    We don't stop playing because we grow old; we grow old because we stop playing. - George Bernard Shaw


    Xbox Live: S0ulA55a551n2
  • »14.09.14 - 07:13
    Profile
  • Moderator
    Kronos
    Posts: 2362 from 2003/2/24
    C and C++ use the same syntax, C++ only adds functionality for object oriented programming ontop of C, so you can't really learn C++ without leraning C.

    Wether to use C or C++ can be the start of some rather heated arguments so better just choose based on your prefered programming paradigm.

    Personally I really like to have all those classes of the STL at hand and so pretty much do all thinks in C++ even if my part of the code ist just plain C.
  • »14.09.14 - 07:52
    Profile
  • JJ
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    JJ
    Posts: 147 from 2010/7/7
    From: Wales
    Quote:

    Kronos wrote:
    C and C++ use the same syntax, C++ only adds functionality for object oriented programming ontop of C, so you can't really learn C++ without leraning C.

    Wether to use C or C++ can be the start of some rather heated arguments so better just choose based on your prefered programming paradigm.

    Personally I really like to have all those classes of the STL at hand and so pretty much do all thinks in C++ even if my part of the code ist just plain C.


    We'll given my java experience probably best to go with c++ by the sounds of it. Thanks
    We don't stop playing because we grow old; we grow old because we stop playing. - George Bernard Shaw


    Xbox Live: S0ulA55a551n2
  • »14.09.14 - 13:48
    Profile