Search:

Type: Posts; User: SpockRox08

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    1,164

    thanks

    thanks
  2. Replies
    11
    Views
    1,164

    Yeah I know it will have "junk" in it initially. ...

    Yeah I know it will have "junk" in it initially. Basically I want to "skip" those spots. so the table will read

    100 101 102 103 104 105 "junk"
    106 107 108 109 110 ...
  3. Replies
    11
    Views
    1,164

    thanks. I have another question. I am trying to...

    thanks.
    I have another question. I am trying to copy a smaller array in to a larger one. it is 2-D. but I want the last row and column in the bigger array to be empty. (the larger one is one row...
  4. Replies
    15
    Views
    2,063

    Thank you every one I got it fixed

    Thank you every one I got it fixed
  5. Replies
    11
    Views
    1,164

    Dynamic 2-d Array

    I was wondering if I could add a row and a column to an array while the program is running?
  6. Replies
    15
    Views
    2,063

    Attached is my put put I get. the table gets all...

    Attached is my put put I get. the table gets all messed up when I try to display it after leave the constructor. I added the co+1 and i still get this output.
  7. Replies
    15
    Views
    2,063

    Oh I see what you were saying. It works where is...

    Oh I see what you were saying. It works where is is because naugT is the augmented table and it is one row and column bigger than the origional
  8. Replies
    15
    Views
    2,063

    I tried that and it crashed the program

    I tried that and it crashed the program
  9. Replies
    15
    Views
    2,063

    The program is supposed to read in a table from a...

    The program is supposed to read in a table from a file then add up the rows and columns and find the complete total then add those to the table
  10. Replies
    15
    Views
    2,063

    thanks for seeing that. I fixed those and I'm...

    thanks for seeing that. I fixed those and I'm still having the same problem
  11. Replies
    15
    Views
    2,063

    oh right. the table is supposed to be 100 ...

    oh right. the table is supposed to be
    100 101 102 103 104 105
    106 107 108 109 110 111
    112 113 114 115 116 117
    118 119 120 121 122 123
    124 ...
  12. Replies
    15
    Views
    2,063

    I get 7633012 5 6 2293436 4199597 0 for...

    I get
    7633012 5 6 2293436 4199597 0

    for the first row of the table when it is displayed in main.
    the rest of the table are numbers like that.

    any time I try to display it out side of the...
  13. Replies
    15
    Views
    2,063

    Help Can't figure out what is wrong

    I don't know what i am doing wrong the out put i get is crazy



    template<class T>
    class Prob3Table
    {
    protected:
    int rows; //Number of rows in the table...
  14. Replies
    2
    Views
    1,185

    Thank you so much. It must really be late if i...

    Thank you so much. It must really be late if i missed that.
  15. Replies
    2
    Views
    1,185

    Help with array sorting please

    I don't understand why this won't sort it properly?



    template<class T>
    class Prob2Sort
    {
    private:
    int *index; //Index that is utilized in the sort...
  16. Thread: Factorial

    by SpockRox08
    Replies
    7
    Views
    1,210

    thanks but I'm a little lost on what that code...

    thanks but I'm a little lost on what that code would do...
  17. Thread: Factorial

    by SpockRox08
    Replies
    7
    Views
    1,210

    Factorial

    I am trying to figure out what is the largest number that i can evaluate a factorial using an int, long, float etc...

    I already figured out how to find the value for the factorial but how do I...
  18. Thread: Digit Check

    by SpockRox08
    Replies
    14
    Views
    1,848

    Thank you. You have been really helpful

    Thank you. You have been really helpful
  19. Thread: Digit Check

    by SpockRox08
    Replies
    14
    Views
    1,848

    Yeah my instructor said that he's checking for...

    Yeah my instructor said that he's checking for the length most of all like if he puts in 1234 he does not want it to be valid but if her puts in 01234 he wants it to be valid.

    he also wants us to...
  20. Thread: Digit Check

    by SpockRox08
    Replies
    14
    Views
    1,848

    ok that solves part of my problem but if the user...

    ok that solves part of my problem but if the user types in 100 that is not valid but if her types in 00100 it is valid how do i check for that as an int? it seems like I;m checking for key strokes...
  21. Thread: Digit Check

    by SpockRox08
    Replies
    14
    Views
    1,848

    how do i make it display as 5 digits and make...

    how do i make it display as 5 digits and make sure that it is 5 digits if it is an int?
  22. Thread: Digit Check

    by SpockRox08
    Replies
    14
    Views
    1,848

    for the program to work i do not need to use an...

    for the program to work i do not need to use an int i can stick with a string. the numbers represent a bank account number but the instructions say to use an int. in fact it even says the program...
  23. Thread: Digit Check

    by SpockRox08
    Replies
    14
    Views
    1,848

    Thank you so much I just have one more...

    Thank you so much

    I just have one more question. once i convert the string to an int will i lose my leading zeros and if i do how do i prevent that? for example if the user types in 00000, which...
  24. Thread: Digit Check

    by SpockRox08
    Replies
    14
    Views
    1,848

    That helps but how do i use that to check if it...

    That helps but how do i use that to check if it is exactly 5 digits. my input has to be all at once and not one at a time.

    Thank you btw for the help it was a good help
  25. Thread: Digit Check

    by SpockRox08
    Replies
    14
    Views
    1,848

    Digit Check

    I need some help with checking whether or not the input from the user is 5 digits or not. It needs to be exactly 5 digits and for example 00000 should be a valid input so I can just check if it is...
Results 1 to 25 of 27
Page 1 of 2 1 2