Thread: Source Code Needed.

  1. #1
    Registered User
    Join Date
    Mar 2011
    Posts
    1

    Source Code Needed.

    Hello folks,

    Can I get the source code for the following

    1) count no. of 1s and 0s in a byte or a binary number eg. 01011101
    2) Toggle nth bit of a given integer ( I also need explanation for this)
    3) Turn all 1s to 0s and all 0s to 1s in a byte eg. 01011101
    4) print array elements in reverse order
    5) reverse bits in a byte eg. 01011101 should become 10111010

    Regards,
    Avins

  2. #2
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    No. This is not a place that gives out free source code.

    What you need to do instead of doing scoop and poop coding (which I despise) is to actually learn how to program in C. If you spent half the energy learning the language as you spend finding source code to steal, you'd probably turn yourself into a pretty decent programmer...

    Now what we will do here is help you along if you show us your source code and ask specific questions... but we don't do people's homework for them and we don't give out free source code.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 01-18-2008, 07:05 PM
  2. Documenting Source Code
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 01-04-2008, 12:18 PM
  3. Source code needed
    By siavoshkc in forum C++ Programming
    Replies: 17
    Last Post: 02-20-2006, 10:16 PM
  4. Lines from Unix's source code have been copied into the heart of Linux????
    By zahid in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 05-19-2003, 03:50 PM
  5. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM