if( spare_time == TRUE )

This is a discussion on if( spare_time == TRUE ) within the C Programming forums, part of the General Programming Boards category; Ok.. After doing some seriuos reading on C, programming in general and some basic priciples of *nix programming, I've managed ...

  1. #1
    KeM
    KeM is offline
    Registered User
    Join Date
    Feb 2002
    Posts
    3

    if( spare_time == TRUE )

    Ok.. After doing some seriuos reading on C, programming in general and some basic priciples of *nix programming, I've managed to put together a small piece of code...

    This is my first actuall program that really does something, so what i'm looking for
    is that someone "proffesional", could take a look at it, and perhaps give me some
    pointers on "how i'm doing". eg. bad habits, bad solutions.. Since I'm learning this stuff by my self, I don't have the ability to "grade" my self..

    So a small objective perspective on stuff would be deeply appreciated..

    Attached file: Small app that plays PCM data..
    Attached Files Attached Files

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    Just glancing at it, it looks good to me. I didn't see any glaring errors or bad style, I'd say you're very much on the right track.

    >This is my first actuall program that really does something
    Have you practiced with toy programs or is this one of your first tries? If it's the latter I'd like to know what you read, because I've seen people program for a year or two and have it look worse than that.

    -Prelude
    My best code is written with the delete key.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. non-lvalue error
    By zlb12 in forum C Programming
    Replies: 1
    Last Post: 04-17-2009, 11:43 AM
  2. Looking for feedback on program segment
    By avron in forum C++ Programming
    Replies: 4
    Last Post: 05-07-2007, 05:38 PM
  3. One quick question...
    By Kross7 in forum C++ Programming
    Replies: 10
    Last Post: 04-13-2007, 10:50 PM
  4. C++ Operator Overloading help
    By Bartosz in forum C++ Programming
    Replies: 2
    Last Post: 08-17-2005, 01:55 PM
  5. Replies: 4
    Last Post: 11-23-2003, 07:15 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21