thanks
Type: Posts; User: SpockRox08
thanks
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 ...
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...
Thank you every one I got it fixed
I was wondering if I could add a row and a column to an array while the program is running?
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.
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
I tried that and it crashed the program
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
thanks for seeing that. I fixed those and I'm still having the same problem
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 ...
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...
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...
Thank you so much. It must really be late if i missed that.
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...
thanks but I'm a little lost on what that code would do...
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...
Thank you. You have been really helpful
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...
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...
how do i make it display as 5 digits and make sure that it is 5 digits if it is an int?
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...
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...
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
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...