[tog] C Programming - Coder Group Night

Russell N Hyer hrothgar.ofstingan at gmail.com
Thu Sep 29 12:31:11 CEST 2016


Eek, I forgot to send that to the list (as it is generally useful info).

Russell
If emailing were easy, programmes would do it

On 29/09/2016, Russell N Hyer <hrothgar.ofstingan at gmail.com> wrote:
> Hi,
>
> You should find a copy of B.W. Kernighan's and D.M. Ritchie's C book
> (often referred to as K&R C, second edition. (I have it in French, so
> the title doesn't necessarily match, (it calls it "Le Langage C, C
> ANSI)).
>
> Though, limiting yourself to the C language itself (whilst almost
> doable) is perhaps to miss the point of programming since it involves
> solving interesting problems and quite soon after, managing the
> complexity that is a programme in flux (as you keep changing it (or
> revising it, but in the sense of change, not cramming for an exam)).
> There are multiple ways to do the complexity management thing:
>
> C offers the ability to define things via headers, and ANSI C gives
> you niceties like function prototypes.
>
> Of course, C++ is perhaps nicer to use for real world programmes (even
> embedded ones) since you have more structural support for writing
> large programmes, whereas in pure C (ANSI or not) you don't have
> anything to worry about apart from writing something that has a main
> function, so you could write a donothing programme:
>
> main() {
> return 0;
> }
>
> or even simpler as:
>
> main() {
> }
>
> Note that you don't need to do type declarations for the function that
> state what it returns since return is built in anyway and describes
> the "error status or otherwise" of the main function that is the basis
> for all C programmes.
>
> As interesting programmes then therefore require something useful to
> start with (ie: a problem) I would suggest reading this book:
>
> From mathematics to generic programming:
>
> ISBN13 9780321942043
>
> You can find it at all book stores, and the maths means you have
> something that you could programme (of course, you might have other
> projects, so the book won't necessarily help with those).
>
> Hope that helps, and happy hacking
>
> Russell
>
> On 29/09/2016, francesca p via tog <tog at lists.tog.ie> wrote:
>> I am supposed to study c for a Msc in software engineering.. haven't
>> started yet but I am interested in learning.
>> I would start from the basics also because I believe this will be the
>> university approach... have no specific experience in it.. just followed
>> a
>> couple of basic tutorials in the past.
>> Are you talking about next Monday or in general? Mondays are not great
>> for
>> me but I'll try to be there!
>>
>>
>>
>> On 28 Sep 2016 5:22 p.m., "Paul Mc Quade via tog" <tog at lists.tog.ie>
>> wrote:
>>
>>> I was hoping to get people interested in software development in C.
>>> I plan on being in Monday and will teach the basics.
>>> If any has a specific problem I'll try to help.
>>> Is anyone interested in learning C?
>>>
>>> --
>>> Regards,
>>> Paul McQuade
>>>
>>>
>>> _______________________________________________
>>> tog mailing list
>>> tog at lists.tog.ie
>>> https://lists.tog.ie/mailman/listinfo/tog
>>> To unsubscribe from this list please visit:
>>>  https://lists.tog.ie//mailman/listinfo/tog
>>>
>>
>


More information about the tog mailing list