Search:

Type: Posts; User: chad03

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,062

    Need some help with output!!!

    Here's the problem:

    Write a C program that reverses the bits in an integer variable named okay and stores te reversed bits in the variable named revokay. For example, if the bit pattern 11100101,...
  2. Replies
    2
    Views
    3,967

    Thanks for the help Salem! One more question...

    Thanks for the help Salem!

    One more question though, I tried a FOR loop to scan every 2nd number but I guess I didn't set it up right. I just kept getting everything instead of the message I...
  3. Replies
    2
    Views
    3,967

    Can I write & read file in same program?

    Here is my problem:
    Write a C program that will read and display every second character in the file named test.dat.

    Here is the cod I have so far:



    #include <stdio.h>
    int main()
    {
  4. Replies
    3
    Views
    2,127

    The problem is whenever I run the program I just...

    The problem is whenever I run the program I just get a blank window. It doesn't print out the vacation is near statement and I'm not sure why??
  5. Replies
    3
    Views
    2,127

    No output from this program

    Here's the problem:
    a. Write a C program that has a declaration in main() to store the string "Vacation is near" into an array named message. There should be a function call to display() that...
  6. Thanks for the help Xsquared.

    Thanks for the help Xsquared.
  7. How do I print the row and column number in an array????

    I'm looking to modify my function for a 10 x 20 array that finds the max value in the array. I'm trying to print the row and column number of the element that is the max value but I always get 10...
  8. Replies
    9
    Views
    4,481

    I'm still getting the same answers 6684040,...

    I'm still getting the same answers 6684040, 6684044, 6684048, 6684052. Is this giving me the addresses? It doesn't change no matter what number I enter.
  9. Replies
    9
    Views
    4,481

    I see the difference but I don't know what to...

    I see the difference but I don't know what to change, everytime I try it I get an error message. Can you give me a hint or point me to an FAQ. I've been stumped for awhile now.
  10. Replies
    9
    Views
    4,481

    Help with functions

    This is the problem I've been assigned and have yet to figure out where I'm going wrong.
    Write a C function named liquid() that is to accept an integer number and the addresses of the...
Results 1 to 10 of 10