So you want to read in 50000x14 values and add a constant value to them? What do you want to do with them after that? I presume that you don't want to just print them to the console?
Do you have any more detailed example of the actual code that … Read More
OK, just to mention before getting to the actual problem, there are a number of likely problems in the first few lines:
using namespace std;
[*]You probably don't need [icode]#include <stdio.h>[/icode], … Read More
[CODE]int i = 0;
for(int j=0; j<=count; j++)
data14[count] = data[j][i] + 2;
cout << data14[count] << "" << endl;
With this code i getch the column 14 of my 2d array and sum 2 in each value.Gerating another array … Read More
[QUOTE=jshoot;1461984]I don't wanna to look that I'm asking to you do all the job, but you can put all that codes you pass together to make run?[/QUOTE]
Sorry, can't do that. I don't have a working program anyway, I just typed the parts on the post straight into Daniweb.
There's … Read More
[QUOTE=jshoot;1463649]then make the stringstream, but don't work[/QUOTE]
What doesn't work? How?
[*]if it's a compiling problem: post the errors and the part of the code that the errors refer to
[*]if it's a run-time problem, print out the values of things until you can find what is going … Read More