Search:

Type: Posts; User: JHaney

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,375

    Minor of a determinant

    This is what I have for finding the minor. I think I could make it more condense to run faster but don't know what to do really. My program works with this function, but I'm just wondering what I can...
  2. Replies
    9
    Views
    7,722

    Alright I'm stuck again. I now have to find the...

    Alright I'm stuck again. I now have to find the minor of a 4x4 matrix.
  3. Replies
    9
    Views
    7,722

    Thanks J. Yours is what I'm looking for. thanks

    Thanks J. Yours is what I'm looking for. thanks
  4. Replies
    9
    Views
    7,722

    Read a 4x4 matrix from user input

    I need to read in a user input matrix in the following format:

    Please enter a 4x4 matrix one row at a time.

    Row 1: 1 3 -1 0

    Row 2: 2 4 1 0

    Row 3: 3 2 -2 2
  5. Replies
    4
    Views
    1,389

    Permutation Question

    Write a function that returns the number of permutations of the n objects taken k at a time.

    The function is int permute(int n; int k).

    Example:

    Consider the set of digits 1,2,3, the...
  6. Replies
    18
    Views
    11,464

    Here is what I ended up with. It does all of the...

    Here is what I ended up with. It does all of the correct things that are supposed to happen with the code that the teacher wanted it to output. It does in between values but if I put in say -4 or -2...
  7. Replies
    18
    Views
    11,464

    I went back to the if (!tunnel.eof()) because I...

    I went back to the if (!tunnel.eof()) because I was not able to get a while statement reading the range. I'm going to talk to other people in my class tomorrow and see if I can figure something out.
  8. Replies
    18
    Views
    11,464

    I've tried different ........ and can't seem to...

    I've tried different ........ and can't seem to get anything working. I'm really frustrated and I don't know what to do. Thanks for trying to help.
  9. Replies
    18
    Views
    11,464

    Ok sorry to keep bothering you, but I'm not sure...

    Ok sorry to keep bothering you, but I'm not sure how to store the data file in an array. It is supposed to be a two-dimensional array right? I worked on it and had range[0][-1] and range [16][-1] for...
  10. Replies
    18
    Views
    11,464

    I get what you are saying but I can't figure out...

    I get what you are saying but I can't figure out how to read the data file into an array with out using the for loops. Aren't the for loops required for arrays? How would I store it a different way?...
  11. Replies
    18
    Views
    11,464

    This code returns my range of points. ...

    This code returns my range of points.


    #include <iostream>
    #include <fstream>

    using namespace std;

    int main()
    {
  12. Replies
    18
    Views
    11,464

    Ok I'm really having trouble. I don't know what...

    Ok I'm really having trouble. I don't know what to do. It keeps returning -2 for my range instead of -4.


    #include <iostream>
    #include <string>
    #include <fstream>

    using namespace std;
  13. Replies
    18
    Views
    11,464

    Help with Programming Assignment

    Ok I have a program due on Monday. Just seeing if yall can help me out. I have tried different code but cant get the program to do everything its supposed to do.

    Here's the assignment:
    ...
  14. Replies
    6
    Views
    1,463

    Thanks for the replies. Now I'm wondering how to...

    Thanks for the replies. Now I'm wondering how to get one letter at a time from the data file and how to store it. I can use the stuff yall have posted so thanks for that.
  15. Replies
    6
    Views
    1,463

    I know how to open the file and I know how to...

    I know how to open the file and I know how to output a data file but I'm not sure how to read from the file. I know I need to use get() I think but I'm not sure how to get char array set up to read...
  16. Replies
    6
    Views
    1,463

    Character Arrays

    I've got write a program that reads a data file which contains a paragraph. I need to take each letter and convert it to two letters higher. So a-->c d-->f and y-->{. The spaces must not be changed....
Results 1 to 16 of 16