certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] certi/test/Billard Billard.cc


From: certi-cvs
Subject: [certi-cvs] certi/test/Billard Billard.cc
Date: Tue, 29 Apr 2008 09:59:06 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     ROUSSELOT <rousse>      08/04/29 09:59:06

Modified files:
        test/Billard   : Billard.cc 

Log message:
        typo error

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/test/Billard/Billard.cc?cvsroot=certi&r1=3.30&r2=3.31

Patches:
Index: Billard.cc
===================================================================
RCS file: /sources/certi/certi/test/Billard/Billard.cc,v
retrieving revision 3.30
retrieving revision 3.31
diff -u -b -r3.30 -r3.31
--- Billard.cc  29 Apr 2008 08:33:04 -0000      3.30
+++ Billard.cc  29 Apr 2008 09:59:06 -0000      3.31
@@ -168,8 +168,7 @@
              cout << "Now we test Register Federation Synchronisation Point on 
some federates" << endl ;
              cout << "Please enter a federate handle (zero means none)" << 
endl ;
              cout << "This federate will be synchronized with the creator and 
not the others" << endl;
-             std::cin >> numfed;
-             if ( numfed != 0 )
+             scanf("%d",&numfed);
                  {
                  // We store numfed into the federate set
                  federateSet->add(numfed) ;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]