ahhh, thanks :-)
Type: Posts; User: monki000
ahhh, thanks :-)
Well, Im using arrays because the assignment requires. :-(
That explanation does help though. Only thing im confused about is how to call the columns.
My Declaration of class and structure...
Next problem :-)
I have created a class to do several things. It defines a structure that contains 4 columns. I have a list of these structures contained in an array. What i am wanting to do...
Thanks for the reply. I was afraid you were going to say that abuot number 1, but no biggy. Number two worked like a charm. I appreciate it!
I got two question about fomatting output to a file.
1st question concerns justifying. I found "right" and "left" in the library to justify right and left, but is there an equivalent to center...
haha good one. :-)
i was hoping to do a bit less on it than that though!
I understand that ALU's are implemented in machine language, commonly verilog and VHDL. But is there a good source of an ALU written in a higher language such as c, c++, or even java? I would like...
Thanks boss, I'll get reading before I start bugging ya!
Hey, some of you may have seen my other post earlier. I am still working on the same project, but thanks to your help I solved my earlier issue and almost have this one nailed.
In my program I...
ah, i didn't think about a nested loop to apply more conditions! great help!
well i do know how big the array is, the issue with that method would mean Id have a bunch of 0's though.. correct? say if the array size is 10 and they input 1,2,3,4,5. the output would be...
exactly, you got it. Sorry for my poor explanation... My thinking was I need to modify the conditions for the list loop, but I cannot think of a way to do it. So that was really my original...
yeah Im typing the input, I created several cin calls in main. It works the first time no matter what. Look at this run.
How many numbers would you like to put into Bag D?: 5
Input 5 numbers...
Thanks for the quick reply tabstop. Actually, The first time i run list I get 1,2,3,4,5. It is only after the remove that I have the issue. It works the first time because I ran a loop(not shown)...
Hey all, I got a quick question on a piece of code I am working on. It's a large program so i'll only post relevant snippets(which will be functions).
First I prompt the user to declare and...
figured it out thanks!
Thanks for the reply. Thats the information I know, I need a better method of printing them out. I just dont know how
So some of you might have seen my other thread regarding this problem. I appreciated the help I got on that issue but now I am unfortunately stuck with one more hiccup.
This program is intended...
thanks, i think i can take it from here. you have been of great help!
once again, thanks matty. There is one more aspect I guess i should have made clear. I need to be able to have the user input all the numbers at once(as in uninterupted) and have it perform all the...
haha i am failing at explaining this i guess.. i'll take it slowly. there is two inputs, the first is a int which declares the number of second inputs, the second input is a list of numbers that...
i understand that a[i] makes an array of size a. I think i am just being unclear of my approach. I was going to use the array a[i] to keep track of the occurrences, not store the input. ie, if the...
thanks for pointing that out. let me explain my thinking and maybe i can be pointed in the right direction. Since the user is allowed to input numbers between 0-100. I figured i could use the...
I am working on a program for class and could use a bit of guidance. The program is supposed to read in a number, declare and array of that size, have the user fill the array with numbers from...
First off, a really appreciate the help everyone has provided me! I have learned alot in the past few days. I believe I am VERY close to finishing this. One thing I lack is to sort the person(s)...