Ignore:
Timestamp:
10/26/10 10:57:54 (14 years ago)
Author:
Adam Kędziora <s301614@…>
Branches:
master
Children:
a6e708f
Parents:
f712e16
git-author:
Adam Kędziora <s301614@…> (10/26/10 10:57:54)
git-committer:
Adam Kędziora <s301614@…> (10/26/10 10:57:54)
Message:

Replacing old implementation with working implementation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _old/app/src/lib/word.cc

    r57728c1 r1e121f4  
    22#include "word.h" 
    33#include "auttools.h" 
     4//#include <istream.h> 
    45#include <istream> 
    5 //--------------------------------------------------------------------------- 
    6  
     6#include <algorithm> 
    77using namespace std; 
    8  
     8//--------------------------------------------------------------------------- 
    99//--------------------------------------------------------------------------- 
    1010 
     
    124124//--------------------------------------------------------------------------- 
    125125void Words::sort() { 
    126 //  sort(tab.begin(), tab.end(), Word::cmp_w); //NIE DZIALA 
     126  std::sort(tab.begin(), tab.end(), Word::cmp_w); 
    127127} 
    128128 
    129129//--------------------------------------------------------------------------- 
    130130void Words::sort_rev() { 
    131 //  sort(tab.begin(), tab.end(), cmp_w_rev_fun); // NIE DZIALA 
     131  std::sort(tab.begin(), tab.end(), cmp_w_rev_fun); 
    132132} 
    133133 
Note: See TracChangeset for help on using the changeset viewer.