![]() |
2 values not correct in loop?
I have a 2x2 matrix A stored in data_ 1 3 2 4 (column major order) and a 2x2 matrix B stored in b.data_ 5 7 6 8 and I'm using the function below to append (stick underneath) B to A.
|
The same interested me!
|
First I want to echo Mike Seymour's comment that you should be using std::string s ... "defining port: " << portchar << endl; // gives correct value portarray[i] = portchar; } cout << portarray[0] << endl; // gives incorrect value.
|
| All times are GMT -4. The time now is 10:32 AM. |
Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.