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
This commit is contained in:
to 2009-10-14 21:27:05 +02:00
parent 25b4022527
commit 2f8d6d8c39
14 changed files with 44 additions and 13 deletions

View File

@ -1,10 +1,12 @@
#include <iostream.h>
#include <iostream>
#include <stdlib.h>
#include "../lib/tfti.h"
#include <fstream.h>
#include <fstream>
using namespace std;
int main()
{

View File

@ -11,6 +11,8 @@
#include "sgraph.hh"
using namespace std;
class Link
{
Role role;

View File

@ -7,6 +7,9 @@
#include "thesymbols.hh"
#include "../common/common.h"
using namespace std;
class MNode
{
public:

View File

@ -11,6 +11,8 @@
#include "thesymbols.hh"
using namespace std;
class MNode;

View File

@ -8,6 +8,9 @@
#include <set>
#include <bitset>
using namespace std;
typedef Symbol<1> Cat;
typedef Symbol<2> Role;

View File

@ -2,7 +2,7 @@
#include "guess.h"
#include <string.h>
#include <iostream.h>
#include <iostream>
#include <stdlib.h>
#include <assert.h>
#include <time.h>
@ -17,6 +17,10 @@
#define PREF_SIGN '_'
using namespace std;
Guess::Guess(const char* suf_file)
: _suf(suf_file) {
/* _suf = NULL;

View File

@ -1,5 +1,5 @@
#include <stdio.h>
#include <alloc.h>
#include <malloc.h>
#include "corlist.h"
#define min(x,y) ((x<y)?(x):(y))

View File

@ -1,5 +1,6 @@
#include "lem.h"
#include <stdlib.h>
#include <assert.h>

View File

@ -1,7 +1,7 @@
#include "symtab.h"
#include <values.h>
#include <stdio.h>
#include <alloc.h>
#include <malloc.h>
#include <stdlib.h>
//---------------------------------------------------------------------------

View File

@ -2,7 +2,7 @@
#define _TFT_h
//---------------------------------------------------------------------------
#include <stddef.h>
#include <iostream.h>
#include <iostream>
#include <typeinfo>
#include <string.h>
@ -10,6 +10,8 @@
//#include "top.h"
#include "ttrans.h"
using namespace std;
//---------------------------------------------------------------------------
/// Klasa bazowa przetwornika skoñczonego.

View File

@ -1,14 +1,18 @@
#ifndef TFTiH
#define TFTiH
//---------------------------------------------------------------------------
#include <fstream.h>
#include <fstream>
#include <math.h>
#include <iomanip.h>
#include <iomanip>
//#include <typeinfo.h>
#include "tft.h"
//---------------------------------------------------------------------------
using namespace std;
template<class I, class Ipass, class O, class Opass>
class TFTi : public TFT<I,Ipass,O,Opass,TTrans_i<I,Ipass,O,Opass> >
{

View File

@ -1,9 +1,12 @@
#ifndef _TTransi_h
#define _TTransi_h
//---------------------------------------------------------------------------
#include <iostream.h>
#include <iostream>
//---------------------------------------------------------------------------
using namespace std;
//! The template for a transition with input and output symbols stored internally.
/*!
A state is identified with the set of its outgoing transitions.

View File

@ -1,8 +1,11 @@
//---------------------------------------------------------------------------
#include "word.h"
#include "auttools.h"
#include <istream.h>
#include <istream>
//---------------------------------------------------------------------------
using namespace std;
//---------------------------------------------------------------------------
void Word::autodescr(const char* fo, const char* de)
@ -120,12 +123,12 @@ int Words::next() {
//---------------------------------------------------------------------------
void Words::sort() {
std::sort(tab.begin(), tab.end(), Word::cmp_w);
// sort(tab.begin(), tab.end(), Word::cmp_w); //NIE DZIALA
}
//---------------------------------------------------------------------------
void Words::sort_rev() {
std::sort(tab.begin(), tab.end(), cmp_w_rev_fun);
// sort(tab.begin(), tab.end(), cmp_w_rev_fun); // NIE DZIALA
}
//---------------------------------------------------------------------------

View File

@ -5,7 +5,9 @@
//#include "alphabet.h"
//#include "erro.h"
#include "const.h"
#include <iostream.h>
#include <iostream>
#include <string.h>
#include <vector>
//---------------------------------------------------------------------------