Thread: C, A Software Engineering Approach by Peter Darnell and Philip Margolis

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708

    Post C, A Software Engineering Approach by Peter Darnell and Philip Margolis

    This was the very first programming book I ever purchased, and remains to be one of my favorites. The book covers just about every aspect of C, as well as stylistic guidelines, project planning recommendations, optimization tips, and more, and contains many useful appendixes, including a mini C library reference. It even includes the full source code for a lexical scanner for C, which is very cool. Clear and concise, this compact little book is an extremely practical guide to programming in C.

    I highly recommend this book.
    Last edited by Sebastiani; 04-23-2009 at 12:37 PM. Reason: cover image included
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

Popular pages Recent additions subscribe to a feed