Quote:
Originally posted by lfj
Do u know chinese?My English is so poor,so i am hard to explain
my meaning.So here,i try to do my best .
I want to input 13 arrays,and each array have 3 items.They r all input by keyboard.The programm is trying to find out all the items
in each array can make their mul in the range ,and then try to printing out them.Just like the coder i were wrote.But i found it's very slow to show all .How can it be faster?And make the result printed like that show all the first,and then show all the second,third,ect.
Instead of trying to explain, how about giving us a sample of what is input, and what is output? Not in code, just numbers and a visual example. For example here is a question that is formulated correctly:
Quote:
I would like to write a program that eliminates duplicates. For example:
{1,2,3,4,4,5,2} --> {1,2,3,4,5}
{0,0,0,1} --> {0,1}
(Then question is followed by some code)
Also, is there really a need for 13 to explain what the problem is? Why not first try 2 or 3? The code already is confusing, so cut it down to just 2 or 3 of these arrays. Trying to explain to us in C++ isn't going to be much help.