Public bug reported: Binary package hint: gedit
I use Gedit to program in C/C++. When i had to print my little stupid code, some "free lines" disapeared. The code was: // Projet 1 // // Groupe 3 #include <iostream> using namespace std; int main() { double solde=0.0; // Cette variable contiendra la somme à retirer ou à verser int montant; // sera le type d'opération (retrait, versement, intérêts) unsigned short int operation; cout << "Solde du compte : " << solde << endl << endl; cout << "Opération (0=quitter, 1=verser, 2=retirer, 3=intérêts) ? "; // Tant que le chois de l'utilisateur n'est pas de terminer le programme while (cin >> operation && operation != 0) { if (operation == 1) { cout << "Montant à verser ? "; cin >> montant; // ajout du versement au solde total solde += montant; } else if (operation == 2) { cout << "Montant à retirer ? "; cin >> montant; // Si l'utilisateur demande de retirer plus que disponible if (montant > solde) { cerr << endl << "Pour garder ses amis, la banque ne fait pas crédit !"; cerr << endl; } else { // retrait de la somme au solde total solde -= montant; } } else if (operation == 3) { // Intérêts de 0.5% solde *= 1.005; // Si l'utilisateur fait un choix non disponible } else { cerr << endl << "*** Erreur: Opération inconnue ***" << endl; } cout << endl << "Solde du compte : " << solde << endl << endl; cout << "Opération (0=quitter, 1=verser, 2=retirer, 3=intérêts) ? "; } cout << endl << "Solde du compte : " << solde << endl; } The free line after // groupe 3 was not printed as after unsigned short int operation; and cout << "Opération (0=quitter, 1=verser, 2=retirer, 3=intérêts) ? "; Really sorry for the bad english ProblemType: Bug Architecture: i386 Date: Mon Oct 8 14:37:27 2007 DistroRelease: Ubuntu 7.10 ExecutablePath: /usr/bin/gedit NonfreeKernelModules: fglrx Package: gedit 2.20.1-0ubuntu2 PackageArchitecture: i386 ProcCmdline: gedit ProcCwd: /home/herlock ProcEnviron: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games LANG=fr_BE.UTF-8 SHELL=/bin/bash SourcePackage: gedit Uname: Linux laptop 2.6.22-13-generic #1 SMP Thu Oct 4 17:18:44 GMT 2007 i686 GNU/Linux ** Affects: gedit (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug -- Problem with spaces when printing https://bugs.launchpad.net/bugs/150556 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug contact for gedit in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs