Re: compiler does not find member function

From: jeffc (nobody_at_nowhere.com)
Date: 12/15/03


Date: Mon, 15 Dec 2003 10:59:22 -0500


"Gergely Buday" <gergoe@math.bme.hu> wrote in message
news:ffb12a90.0312150244.6237c620@posting.google.com...
> buday@all:$ cat Tokens
> const char *Token::tokens[] = { "SILENCE", "A", "AA", "B", "BB", "C",
> "CC", "CS", "CCS", "D", "DD", "DZ", "DDZ", "DZS", "DDZS", "E", "EE",
> "F", "FF", "G", "GG", "GY", "GGY", "H", "DOH", "I", "II", "J", "JJ",
> "KAPJ", "DOBJ", "K", "KK", "L", "LL", "M", "MM", "MG", "N", "NG",
> "NN", "NY", "NNY", "O", "OO", "OE", "OEOE", "P", "PP", "R", "RR", "S",
> "SS", "SZ", "SSZ", "T", "TT", "TY", "TTY", "U", "UU", "UE", "UEUE",
> "V", "VV", "W", "Z", "ZZ", "ZS", "ZZS" };
> buday@all:$ cat Token.hpp
> #include <string>
>
> class Token {
>
> private:
> static const char *tokens[];
>
> public:
> string toString(int phoneme);
>
> };
> buday@all:$ cat Token.cpp
>
> #include <string>
>
> #include "Token.hpp"
>
> #include "Tokens"
>
> string Token::toString(int phoneme)
> {
> return(string(tokens[phoneme]));
> }
> buday@all:$ cat main.cpp
> #include <iostream>
> #include <string>
>
> #include "phon.cpp"
>
> #include "Token.hpp"
>
> using namespace std;
>
> int main(int argc, char *argv[])
> {
> Token tok;
>
> cout << tok.toString(AA) << "\n";

What is AA?



Relevant Pages