November 8th, 2011, 03:48 AM
How can I scan sentences with separator from .txt file?
For example, I use "#" as a separator.
Hello world#I am a boy#These cats are black#Buy a new car
Then, I want to collect them into...
November 7th, 2011, 10:07 AM
I am dealing with the Object variables in Java and these objects are stored in array of size 20.
The variables in the previous week will be updated by my algorithm from the main function.
(The...
November 5th, 2011, 11:50 PM
November 5th, 2011, 07:16 AM
Okay, now I use "double". But I still wonder why the result is not equal compared to MATLAB
Anyway, may I understand that double is precise only in 15 decimal range.
If I use command,...
November 5th, 2011, 06:35 AM
I have a complex algorithm in both MATLAB and C++ computing the dynamical system which contain a lot of mathematical functions. After I executed them. Their results are not the same.
I'm sure...
November 5th, 2011, 04:28 AM
I used to export the numerical value to create a .csv spreadsheet by this following code.
ofstream fout;
fout.open("Sheet.csv");
fout<< VALUE << "\n";
It generated a 6-decimal precision...
November 4th, 2011, 06:21 AM
How can I declare such a simple function in C++?
I used to program with C. Now I've moved to C++.
Is there any syntax comparison chart or table?