Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project!

## mingw-notify

 [Mingw-notify] [ mingw-Bugs-528526 ] Wrong Result without a cout << endl!!! From: - 2002-03-11 15:15:04 ```Bugs item #528526, was opened at 2002-03-11 16:15 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=102435&aid=528526&group_id=2435 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Michael K (warefare) Assigned to: Nobody/Anonymous (nobody) Summary: Wrong Result without a cout << endl!!! Initial Comment: Sorry for my bad English but im from Germany. I dont know why this BUG(?) appear. First I had a debug text where the cout << endl; stoods. But when I was ready with the programm I delet this text and suddenly ther were wrong REsults. Is this a BUG? #include #include #include"mymath.h" using namespace std; #define LEN 3 int main() { double matrix[LEN][LEN] = {{-4,3,-2},{5,4,-6}, {-3,2,4}}, // matrix initialisieren rechteSeite[LEN] = {8,- 8,19}, // ergebnisse der Therme d [LEN+1]; // ergebnisse von Dx/D (Cramer'sche Regel) // Ausgabe der Therme: for(int i = 0; i < LEN; ++i) { cout << i+1 << ": "; for(int j = 0; j < LEN; ++j) { cout << "(" << setw(5) << matrix[i][j] << ")" << (char)(97 + i); if(j != LEN-1) cout << " + "; } cout << " = " << rechteSeite[i] << endl; } cout << endl; // Berechnung der Determinanten: d[0] = determ(*matrix, LEN); for(int i = 0; i < LEN; ++i) // alle Determinanten ausrechnen { double determinante[LEN][LEN]; for(int n = 0; n < LEN; ++n) { for(int m = 0; m < LEN; ++m) { if(m == i) determinante[n][m] = rechteSeite[n]; else determinante[n][m] = matrix[n][m]; } } cout << endl; // if i delete this, the prog write wrong result. d[i+1] = determ(*determinante, LEN); } // Ausgabe der Werte der Determinanten; for(int i = 0; i < LEN+1; ++i) cout << "D" << i << " = " << d[i] << endl; // Ausgabe der Ergebnisse: cout << "\n\n"; for(int i = 0; i < LEN; ++i) cout << (char)(97+i) << " = " << (float)d [i+1] / d[0] << endl; cin.sync(); cin.clear(); cin.get(); return 0; } ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=102435&aid=528526&group_id=2435 ```
 [Mingw-notify] [ mingw-Bugs-528526 ] Wrong Result without a cout << endl!!! From: - 2002-05-22 15:00:55 ```Bugs item #528526, was opened at 2002-03-11 23:15 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=102435&aid=528526&group_id=2435 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Michael K (warefare) Assigned to: Nobody/Anonymous (nobody) Summary: Wrong Result without a cout << endl!!! Initial Comment: Sorry for my bad English but im from Germany. I dont know why this BUG(?) appear. First I had a debug text where the cout << endl; stoods. But when I was ready with the programm I delet this text and suddenly ther were wrong REsults. Is this a BUG? #include #include #include"mymath.h" using namespace std; #define LEN 3 int main() { double matrix[LEN][LEN] = {{-4,3,-2},{5,4,-6}, {-3,2,4}}, // matrix initialisieren rechteSeite[LEN] = {8,- 8,19}, // ergebnisse der Therme d [LEN+1]; // ergebnisse von Dx/D (Cramer'sche Regel) // Ausgabe der Therme: for(int i = 0; i < LEN; ++i) { cout << i+1 << ": "; for(int j = 0; j < LEN; ++j) { cout << "(" << setw(5) << matrix[i][j] << ")" << (char)(97 + i); if(j != LEN-1) cout << " + "; } cout << " = " << rechteSeite[i] << endl; } cout << endl; // Berechnung der Determinanten: d[0] = determ(*matrix, LEN); for(int i = 0; i < LEN; ++i) // alle Determinanten ausrechnen { double determinante[LEN][LEN]; for(int n = 0; n < LEN; ++n) { for(int m = 0; m < LEN; ++m) { if(m == i) determinante[n][m] = rechteSeite[n]; else determinante[n][m] = matrix[n][m]; } } cout << endl; // if i delete this, the prog write wrong result. d[i+1] = determ(*determinante, LEN); } // Ausgabe der Werte der Determinanten; for(int i = 0; i < LEN+1; ++i) cout << "D" << i << " = " << d[i] << endl; // Ausgabe der Ergebnisse: cout << "\n\n"; for(int i = 0; i < LEN; ++i) cout << (char)(97+i) << " = " << (float)d [i+1] / d[0] << endl; cin.sync(); cin.clear(); cin.get(); return 0; } ---------------------------------------------------------------------- Comment By: Luke Dunstan (infidel) Date: 2002-05-22 23:00 Message: Logged In: YES user_id=30442 I cannot compile this because it uses the "mymath.h" header, which is not provided. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=102435&aid=528526&group_id=2435 ```
 [Mingw-notify] [ mingw-Bugs-528526 ] Wrong Result without a cout << endl!!! From: - 2002-08-01 00:13:28 ```Bugs item #528526, was opened at 2002-03-12 04:15 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=528526&group_id=2435 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Michael K (warefare) Assigned to: Nobody/Anonymous (nobody) Summary: Wrong Result without a cout << endl!!! Initial Comment: Sorry for my bad English but im from Germany. I dont know why this BUG(?) appear. First I had a debug text where the cout << endl; stoods. But when I was ready with the programm I delet this text and suddenly ther were wrong REsults. Is this a BUG? #include #include #include"mymath.h" using namespace std; #define LEN 3 int main() { double matrix[LEN][LEN] = {{-4,3,-2},{5,4,-6}, {-3,2,4}}, // matrix initialisieren rechteSeite[LEN] = {8,- 8,19}, // ergebnisse der Therme d [LEN+1]; // ergebnisse von Dx/D (Cramer'sche Regel) // Ausgabe der Therme: for(int i = 0; i < LEN; ++i) { cout << i+1 << ": "; for(int j = 0; j < LEN; ++j) { cout << "(" << setw(5) << matrix[i][j] << ")" << (char)(97 + i); if(j != LEN-1) cout << " + "; } cout << " = " << rechteSeite[i] << endl; } cout << endl; // Berechnung der Determinanten: d[0] = determ(*matrix, LEN); for(int i = 0; i < LEN; ++i) // alle Determinanten ausrechnen { double determinante[LEN][LEN]; for(int n = 0; n < LEN; ++n) { for(int m = 0; m < LEN; ++m) { if(m == i) determinante[n][m] = rechteSeite[n]; else determinante[n][m] = matrix[n][m]; } } cout << endl; // if i delete this, the prog write wrong result. d[i+1] = determ(*determinante, LEN); } // Ausgabe der Werte der Determinanten; for(int i = 0; i < LEN+1; ++i) cout << "D" << i << " = " << d[i] << endl; // Ausgabe der Ergebnisse: cout << "\n\n"; for(int i = 0; i < LEN; ++i) cout << (char)(97+i) << " = " << (float)d [i+1] / d[0] << endl; cin.sync(); cin.clear(); cin.get(); return 0; } ---------------------------------------------------------------------- >Comment By: Danny Smith (dannysmith) Date: 2002-08-01 12:13 Message: Logged In: YES user_id=11494 No feedback provided {missing header], so cant' see the bug. Can you please provide preprocessed source (the *.ii file output by --save-temps). danny ---------------------------------------------------------------------- Comment By: Luke Dunstan (infidel) Date: 2002-05-23 03:00 Message: Logged In: YES user_id=30442 I cannot compile this because it uses the "mymath.h" header, which is not provided. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=528526&group_id=2435 ```
 [Mingw-notify] [ mingw-Bugs-528526 ] Wrong Result without a cout << endl!!! From: - 2002-08-05 16:47:51 ```Bugs item #528526, was opened at 2002-03-11 10:15 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=528526&group_id=2435 Category: None Group: None >Status: Closed >Resolution: Out of Date Priority: 5 Submitted By: Michael K (warefare) >Assigned to: Earnie Boyd (earnie) Summary: Wrong Result without a cout << endl!!! Initial Comment: Sorry for my bad English but im from Germany. I dont know why this BUG(?) appear. First I had a debug text where the cout << endl; stoods. But when I was ready with the programm I delet this text and suddenly ther were wrong REsults. Is this a BUG? #include #include #include"mymath.h" using namespace std; #define LEN 3 int main() { double matrix[LEN][LEN] = {{-4,3,-2},{5,4,-6}, {-3,2,4}}, // matrix initialisieren rechteSeite[LEN] = {8,- 8,19}, // ergebnisse der Therme d [LEN+1]; // ergebnisse von Dx/D (Cramer'sche Regel) // Ausgabe der Therme: for(int i = 0; i < LEN; ++i) { cout << i+1 << ": "; for(int j = 0; j < LEN; ++j) { cout << "(" << setw(5) << matrix[i][j] << ")" << (char)(97 + i); if(j != LEN-1) cout << " + "; } cout << " = " << rechteSeite[i] << endl; } cout << endl; // Berechnung der Determinanten: d[0] = determ(*matrix, LEN); for(int i = 0; i < LEN; ++i) // alle Determinanten ausrechnen { double determinante[LEN][LEN]; for(int n = 0; n < LEN; ++n) { for(int m = 0; m < LEN; ++m) { if(m == i) determinante[n][m] = rechteSeite[n]; else determinante[n][m] = matrix[n][m]; } } cout << endl; // if i delete this, the prog write wrong result. d[i+1] = determ(*determinante, LEN); } // Ausgabe der Werte der Determinanten; for(int i = 0; i < LEN+1; ++i) cout << "D" << i << " = " << d[i] << endl; // Ausgabe der Ergebnisse: cout << "\n\n"; for(int i = 0; i < LEN; ++i) cout << (char)(97+i) << " = " << (float)d [i+1] / d[0] << endl; cin.sync(); cin.clear(); cin.get(); return 0; } ---------------------------------------------------------------------- Comment By: Danny Smith (dannysmith) Date: 2002-07-31 20:13 Message: Logged In: YES user_id=11494 No feedback provided {missing header], so cant' see the bug. Can you please provide preprocessed source (the *.ii file output by --save-temps). danny ---------------------------------------------------------------------- Comment By: Luke Dunstan (infidel) Date: 2002-05-22 11:00 Message: Logged In: YES user_id=30442 I cannot compile this because it uses the "mymath.h" header, which is not provided. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=528526&group_id=2435 ```