diff options
author | Pixel <> | 2001-03-21 11:27:19 +0000 |
---|---|---|
committer | Pixel <> | 2001-03-21 11:27:19 +0000 |
commit | 775858335e297f40bb6a0b3065cafa8e72bd9de0 (patch) | |
tree | 16f11ab144481104f6c4f2bc38b491e3570caae5 | |
parent | b75cdf41d321bce00a3f7c0c980c1f6cdc6117a8 (diff) |
Still bugfixing
-rw-r--r-- | lib/PCommon.cc | 3 | ||||
-rw-r--r-- | po/PriorityLists.pot | 18 | ||||
-rw-r--r-- | src/test.cc | 2 |
3 files changed, 14 insertions, 9 deletions
diff --git a/lib/PCommon.cc b/lib/PCommon.cc index 16a8a3f..1ceec6a 100644 --- a/lib/PCommon.cc +++ b/lib/PCommon.cc @@ -46,7 +46,10 @@ PriorityList *PriorityList::GenericUnion(PriorityList * P) Key_t IKey; Datas_t IDatas; + cerr << "Dans l'union generique\n"; + while (!(P->IsEmpty())) { + cerr << "Extraction de la clef " << IKey << endl; IKey = P->Extract_Min(IDatas); Insert(IKey, IDatas); } diff --git a/po/PriorityLists.pot b/po/PriorityLists.pot index 6b1a91c..7ad4446 100644 --- a/po/PriorityLists.pot +++ b/po/PriorityLists.pot @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2001-03-21 12:12+0100\n" +"POT-Creation-Date: 2001-03-21 12:40+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -267,35 +267,35 @@ msgstr "" msgid "Please select a priority list type" msgstr "" -#: src/test.cc:361 +#: src/test.cc:363 msgid "Please select a key to delete" msgstr "" -#: src/test.cc:367 +#: src/test.cc:369 msgid "Delete result: " msgstr "" -#: src/test.cc:379 +#: src/test.cc:381 msgid "Extract Min result: " msgstr "" -#: src/test.cc:383 +#: src/test.cc:385 msgid "Please select a key to lower" msgstr "" -#: src/test.cc:389 +#: src/test.cc:391 msgid "Please type in the new key" msgstr "" -#: src/test.cc:393 +#: src/test.cc:395 msgid "Lower key result: " msgstr "" -#: src/test.cc:393 +#: src/test.cc:395 msgid "True" msgstr "" -#: src/test.cc:393 +#: src/test.cc:395 msgid "False" msgstr "" diff --git a/src/test.cc b/src/test.cc index fb67d24..d169162 100644 --- a/src/test.cc +++ b/src/test.cc @@ -349,7 +349,9 @@ int main(int argc, char **argv) Temp = T; cerr << "\n\n\n\n"; method = getchoice(_("Please select a priority list type"), method_names, input) - '0'; + cerr << "Creation de la nouvelle file\n"; T = newlist(method); + cerr << "Union avec l'ancienne\n"; T->Union(Temp); delete Temp; for (i = 0; i < 10; i++) { |