Search:

Type: Posts; User: Jpeg6

Search: Search took 0.00 seconds.

  1. Thread: Passing an Array

    by Jpeg6
    Replies
    5
    Views
    1,353

    I really don't understand what your trying to...

    I really don't understand what your trying to tell me to do. Could you be a little more specific to help me out some more?
  2. Thread: Passing an Array

    by Jpeg6
    Replies
    5
    Views
    1,353

    Passing an Array

    I'm having trouble transferring my transposed array to my print subroutine. I could really use some help.


    #include <stdio.h>

    float transposeMatrix (int input_row, int input_col, float...
  3. Thread: Error

    by Jpeg6
    Replies
    19
    Views
    2,477

    I have the same kind of problem again. ...

    I have the same kind of problem again.


    #include <stdio.h>

    float transposeMatrix (int input_row, int input_col, float input_matrix[][20])
    {
    int row;
    int col;
    float...
  4. Thread: Error

    by Jpeg6
    Replies
    19
    Views
    2,477

    I got the pass to work, however now when I try to...

    I got the pass to work, however now when I try to printf a number in the subroutine all I get is 0.
  5. Thread: Error

    by Jpeg6
    Replies
    19
    Views
    2,477

    Error

    I get error C2109 on the line stating:

    printf("%+6.1f", input_matrix[row][col]);

    I'm getting the problem with the input_matrix part.

    Here is my entire code:


    #include <stdio.h>
  6. Replies
    1
    Views
    3,044

    Word count program

    I'm trying to create a program in which a user inputs a string up to 100 characters, and the program prints the number of words, and the number of words that start with a capital letter. I have it...
  7. Replies
    12
    Views
    20,792

    Calculation in C Program

    I'm new to programming. When I put in a temperature in Fahrenheit, I need an output of the temperature in Celsius.

    This is my code so far:


    #include <stdio.h>

    int main (void)

    {
Results 1 to 7 of 8