Changeset 2f8d6d8 for app


Ignore:
Timestamp:
10/14/09 21:27:05 (15 years ago)
Author:
to <to@…>
Branches:
master
Children:
a26cf42
Parents:
25b4022
git-author:
to <to@…> (10/14/09 21:27:05)
git-committer:
to <to@…> (10/14/09 21:27:05)
Message:

Poprawki kodu w C++ (nazwy plikow naglowkowych, using ...).

modified: compiledic/aut2fsa.cc
modified: dgp/grammar.hh
modified: dgp/mgraph.hh
modified: dgp/sgraph.hh
modified: dgp/thesymbols.hh
modified: gue/guess.cc
modified: kor/corlist.cc
modified: lem/lem.cc
modified: lib/symtab.cc
modified: lib/tft.h
modified: lib/tfti.h
modified: lib/ttrans.h
modified: lib/word.cc
modified: lib/word.h

Location:
app/src
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • app/src/compiledic/aut2fsa.cc

    r25ae32e r2f8d6d8  
    11 
    2 #include <iostream.h> 
     2#include <iostream> 
    33#include <stdlib.h> 
    44 
    55#include "../lib/tfti.h" 
    66 
    7 #include <fstream.h> 
     7#include <fstream> 
     8 
     9using namespace std; 
    810 
    911int main() 
  • app/src/dgp/grammar.hh

    r2969c84 r2f8d6d8  
    1111#include "sgraph.hh" 
    1212 
     13 
     14using namespace std; 
    1315 
    1416class Link 
  • app/src/dgp/mgraph.hh

    r28e9ae0 r2f8d6d8  
    77#include "thesymbols.hh" 
    88#include "../common/common.h" 
     9 
     10 
     11using namespace std; 
    912 
    1013class MNode 
  • app/src/dgp/sgraph.hh

    r9ace5d2 r2f8d6d8  
    1111#include "thesymbols.hh" 
    1212 
     13 
     14using namespace std; 
    1315 
    1416class MNode; 
  • app/src/dgp/thesymbols.hh

    r9ace5d2 r2f8d6d8  
    88#include <set> 
    99#include <bitset> 
     10 
     11 
     12using namespace std; 
    1013 
    1114typedef Symbol<1> Cat; 
  • app/src/gue/guess.cc

    r25ae32e r2f8d6d8  
    33 
    44#include <string.h> 
    5 #include <iostream.h> 
     5#include <iostream> 
    66#include <stdlib.h> 
    77#include <assert.h> 
     
    1717 
    1818#define PREF_SIGN '_' 
     19 
     20 
     21using namespace std; 
     22 
    1923 
    2024Guess::Guess(const char* suf_file) 
  • app/src/kor/corlist.cc

    rac7d970 r2f8d6d8  
    11#include <stdio.h> 
    2 #include <alloc.h> 
     2#include <malloc.h> 
    33#include "corlist.h" 
    44 
  • app/src/lem/lem.cc

    r25ae32e r2f8d6d8  
    11#include "lem.h" 
    22 
     3#include <stdlib.h> 
    34#include <assert.h> 
    45 
  • app/src/lib/symtab.cc

    r25ae32e r2f8d6d8  
    22#include <values.h> 
    33#include <stdio.h> 
    4 #include <alloc.h> 
     4#include <malloc.h> 
    55#include <stdlib.h> 
    66//--------------------------------------------------------------------------- 
  • app/src/lib/tft.h

    r25ae32e r2f8d6d8  
    33//--------------------------------------------------------------------------- 
    44#include <stddef.h> 
    5 #include <iostream.h> 
     5#include <iostream> 
    66#include <typeinfo> 
    77#include <string.h> 
     
    1111//#include "top.h" 
    1212#include "ttrans.h" 
     13 
     14using namespace std; 
    1315//--------------------------------------------------------------------------- 
    1416 
  • app/src/lib/tfti.h

    r25ae32e r2f8d6d8  
    22#define TFTiH 
    33//--------------------------------------------------------------------------- 
    4 #include <fstream.h> 
     4#include <fstream> 
    55#include <math.h> 
    6 #include <iomanip.h> 
     6#include <iomanip> 
    77//#include <typeinfo.h> 
    88 
    99#include "tft.h" 
    1010//--------------------------------------------------------------------------- 
     11 
     12 
     13using namespace std; 
     14 
    1115 
    1216template<class I, class Ipass, class O, class Opass> 
  • app/src/lib/ttrans.h

    r25ae32e r2f8d6d8  
    22#define _TTransi_h 
    33//--------------------------------------------------------------------------- 
    4 #include <iostream.h> 
    5 //--------------------------------------------------------------------------- 
     4#include <iostream> 
     5//--------------------------------------------------------------------------- 
     6 
     7 
     8using namespace std; 
    69 
    710//! The template for a transition with input and output symbols stored internally. 
  • app/src/lib/word.cc

    r6ac84d8 r2f8d6d8  
    22#include "word.h" 
    33#include "auttools.h" 
    4 #include <istream.h> 
    5 //--------------------------------------------------------------------------- 
     4#include <istream> 
     5//--------------------------------------------------------------------------- 
     6 
     7using namespace std; 
     8 
    69//--------------------------------------------------------------------------- 
    710 
     
    121124//--------------------------------------------------------------------------- 
    122125void Words::sort() { 
    123   std::sort(tab.begin(), tab.end(), Word::cmp_w); 
     126//  sort(tab.begin(), tab.end(), Word::cmp_w); //NIE DZIALA 
    124127} 
    125128 
    126129//--------------------------------------------------------------------------- 
    127130void Words::sort_rev() { 
    128   std::sort(tab.begin(), tab.end(), cmp_w_rev_fun); 
     131//  sort(tab.begin(), tab.end(), cmp_w_rev_fun); // NIE DZIALA 
    129132} 
    130133 
  • app/src/lib/word.h

    r6ac84d8 r2f8d6d8  
    66//#include "erro.h" 
    77#include "const.h" 
    8 #include <iostream.h> 
     8#include <iostream> 
     9 
     10#include <string.h> 
    911 
    1012#include <vector> 
Note: See TracChangeset for help on using the changeset viewer.