Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   C++ (http://www.domainnameforum.org/forumdisplay.php?f=123)
-   -   2 values not correct in loop? (http://www.domainnameforum.org/showthread.php?t=74604)

C++ 03-03-2010 12:04 PM

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.

Reklama4 09-08-2015 09:21 AM

The same interested me!

steffidsouza46 07-24-2017 01:19 PM

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.