Click here to Skip to main content
11,431,483 members (70,021 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++
Halo,
I was downloaded the source code of ELIZA from Mr. Gonzales Cenelia and because of i don´t found contact for him, I ask my question here.
I want to know which file is main file from Chatterbot Eliza 2.0 source and which program is suitable for debug source code.
Thank you very much

I´m sorry
Link to source code is here

Tomaibrary/ProjectEliza/s
Posted 27-Mar-13 5:58am
tomikl193
Edited 27-Mar-13 6:05am
v2
Comments
ThePhantomUpvoter at 27-Mar-13 11:00am
   
Why are you not asking this where ever you got the code from?
Sergey Alexandrovich Kryukov at 27-Mar-13 11:07am
   
Exactly. Moreover, I easily found it on CodeProject.
Please see my answer.
—SA
tomikl at 28-Mar-13 4:26am
   
when I unzip folder Chatterbot Eliza 2.0 source, I have a files: Eliza.cpp, Eliza.dsp, Eliza.dsw, Eliza.h, graphics.h, recorder.coo, recorder.h, strinds.cpp, strings.h, Tokenizer.cpp, Tokenizer.h .
So I don´t know which is main to open in deguge program like NEtBeans.
tomikl at 9-Apr-13 7:05am
   
can you help me?
Sergey Alexandrovich Kryukov at 9-Apr-13 10:36am
   
Sure. Please see the updated answer, after [EDIT].
—SA
tomikl at 9-Apr-13 10:52am
   
when I unzip folder Chatterbot Eliza 2.0 source, I have a files: Eliza.cpp, Eliza.dsp, Eliza.dsw, Eliza.h, graphics.h, recorder.coo, recorder.h, strinds.cpp, strings.h, Tokenizer.cpp, Tokenizer.h . So I don´t know which is main to open in debuge program like NEtBeans.
Sergey Alexandrovich Kryukov at 9-Apr-13 11:02am
   
I pointed out the "main" in my updated answer. I guess you need to add all files to the project and try to compile. From the standpoint of application structure, the code is extremely simple. You can always modify it for some other application type, as the mail algorithm does not really depend on such technical detail...
—SA
tomikl at 9-Apr-13 11:49am
   
and if I can ask you, How compile software are you using?
Sergey Alexandrovich Kryukov at 9-Apr-13 13:40pm
   
Are you joking? This is a site for software developers and students. What do you mean "how"? By a compiler!
You are going to the point when your question could be considered off-topic. We cannot teach you programming from teaching how to use compilers, linkers, IDE, etc. There are certain prerequisites.
What exactly prevents you from compilation?
—SA
tomikl at 9-Apr-13 14:33pm
   
oh, sorry my faul... I want wrote no "how" but "what"... so my question is What software do you use to compile?
I admit, I was wrong to ask a question. I´m sorry
Sergey Alexandrovich Kryukov at 9-Apr-13 14:49pm
   
Well, I did not compile this version; should I :-). It compiles on old Visual Studio (v.6?) for windows and the solution should auto-convert to any later version.
Main part of it should be compatible to any other platform and compiler, but you need to remove "graphic" and "recorder" parts...
—SA
tomikl at 10-Apr-13 5:54am
   
ou, Beacuse I used NetBeans and don´t know how I do run of program
Sergey Alexandrovich Kryukov at 10-Apr-13 9:42am
   
Then why did you ask a question on the particular program? Learn it first...
—SA
tomikl at 16-Apr-13 5:38am
   
I just don´t know how I can open it in NetBeans program
Sergey Alexandrovich Kryukov at 16-Apr-13 10:33am
   
Create a new project, add source files...
—SA
tomikl at 20-Apr-13 11:58am
   
Ok, I debug it in Visual Studio 2008, but if i wrote the first input test, Visual get me Error : http://fuerafondo.com/obr/eliza_error.png
can you help me what is it?
Sergey Alexandrovich Kryukov at 20-Apr-13 20:33pm
   
Help with what? In this forum, we only answer question. You need to do certain work I described. And I don't have NetBeans installed and don't really want to install it, I just know what to do. Basically, you need to create a brand new project, using the Windows source as a reference. The algorithm itself is not bound with any platform, it needs just standard I/O...

You can get help only if you have some basic knowledge of programming and C++. If you do all of the above and see a particular problem, you can ask another question.

—SA
Sergey Alexandrovich Kryukov at 27-Mar-13 11:02am
   
How can you ask such question without giving us the link? At list write down your download link... Please use "Improve question", above.
—SA

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Please see my comment to the question. You did not give us any links, and probably did not try to find anything. Why?

Please see: Chatterbot Eliza[^].

If you want to ask Gonzales a question, load this page, locate the section "Comments and Discussions" and use "Add a Comment or Question" to ask a question. The author will get a notification and a chance to answer you.

However, finding the entry point in code won't be a problem anyway, if this code can be built at all, of course. Smile | :)

[EDIT]

tomikl wrote:
When I unzip folder Chatterbot Eliza 2.0 source, I have a files: Eliza.cpp, Eliza.dsp, Eliza.dsw, Eliza.h, graphics.h, recorder.coo, recorder.h, strinds.cpp, strings.h, Tokenizer.cpp, Tokenizer.h. So I don't know which is main to open in <??? — SA> program like NEtBeans.
How come? Quite apparently, this is "Eliza.cpp". You really need to understand how the application entry point works.

Please see: http://en.wikipedia.org/wiki/Main_function[^].

—SA
  Permalink  
v2
Comments
Nounouna Abrabri at 3-May-13 11:01am
   
plzz im looking for a source code of eliza in lisp the last version???
Sergey Alexandrovich Kryukov at 3-May-13 11:10am
   
Then search for it. Why are you asking me? You can do it as well as I can, but you are the one who is interested in it.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web03 | 2.8.150428.2 | Last Updated 9 Apr 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100