16,000,645 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 9538830 (Top 37 by date)
Member 9538830
23-Sep-14 14:39pm
View
Thank you. No, I am not kidding. I didn`t write code. I`ve got a completed code for testing.
Member 9538830
23-Sep-14 14:35pm
View
Deleted
Thank you. No, I am not kidding. I didn`t write code. I`ve got a completed code for testing.
Member 9538830
23-Sep-14 14:27pm
View
OK. But how can I determine which Main method is right and enough for work? There is a Main method in Program.cs and one in BackPropProgram.cs.
Member 9538830
9-Sep-14 10:06am
View
But how do you set out a path in the source code in that case? ... For example ...
Member 9538830
4-Sep-14 4:49am
View
OK. Thank you. But, HappyBirthday1 is right name of the parent class, and BirthdayParty is the name of the class derived from HappyBirthday1. Why the next error is appeared: "BirthdayParty" does not contain a definition for "getMessage" etc ... if "BirthdayParty" is derived class from HappyBirthday1 class?
Member 9538830
4-Sep-14 3:38am
View
Thank you very much ClimrChinna. I change it and solution works.
Although this may seem strange, but I still noticed a basic error (difference) that existed between the beginning of the program, and your solutions, that works.
Why "BirthdayParty" does not contain a definition for "getMessage" ... if BirthdayParty is derived class from HappyBirthday?
Member 9538830
4-Sep-14 3:27am
View
Thank you very much for your reply. Please bear in mind that I am a beginner and trying to learn how to use this forum.
If you look a little better, you're going to see that I thank the member who solved the problem and I accepted his solution.
Member 9538830
3-Sep-14 19:40pm
View
Deleted
Program doesn`t work.
Have you seen the errors I have posted above?
Member 9538830
3-Sep-14 19:18pm
View
These are errors:
//===============
// DERIVED CLASS
//===============
class BirthdayParty : HappyBirthday1 // Kakva je ovo greška???
Error 1 The type or namespace name 'HappyBirthday1' could not be found (are you missing a using directive or an assembly reference?)
………………………………………………………………………………………………………………………………………………………………….
private void button1_Click(object sender, EventArgs e)
.
.
.
MessageBox.Show( partyOn.getMessage("Shadid"));
MessageBox.Show(partyOn.getPresent(8));
Error 2 'BirthdayParty' does not contain a definition for 'getMessage' and no extension method 'getMessage' accepting a first argument of type 'BirthdayParty' could be found (are you missing a using directive or an assembly reference?)
Error 3 'BirthdayParty' does not contain a definition for 'getPresent' and no extension method 'getPresent' accepting a first argument of type 'BirthdayParty' could be found (are you missing a using directive or an assembly reference?)
Member 9538830
3-Sep-14 19:15pm
View
Errors:
//===============
// DERIVED CLASS
//===============
class BirthdayParty : HappyBirthday1 // Kakva je ovo greška???
Error 1 The type or namespace name 'HappyBirthday1' could not be found (are you missing a using directive or an assembly reference?)
………………………………………………………………………………………………………………………………………………………………….
private void button1_Click(object sender, EventArgs e)
.
.
.
MessageBox.Show( partyOn.getMessage("Shadid"));
MessageBox.Show(partyOn.getPresent(8));
Error 2 'BirthdayParty' does not contain a definition for 'getMessage' and no extension method 'getMessage' accepting a first argument of type 'BirthdayParty' could be found (are you missing a using directive or an assembly reference?)
Error 3 'BirthdayParty' does not contain a definition for 'getPresent' and no extension method 'getPresent' accepting a first argument of type 'BirthdayParty' could be found (are you missing a using directive or an assembly reference?)
Member 9538830
3-Sep-14 19:13pm
View
I tried your solution and it works. But, your solution gives resultes in three separate message boxes. Could you change it so that all of three results are in one message box.
Member 9538830
3-Sep-14 9:35am
View
Deleted
I`ll send you errors a little later.
Member 9538830
3-Sep-14 9:31am
View
Not yet, but I`ll try.
Member 9538830
3-Sep-14 9:13am
View
Does not work. Reports an error. The example is from a book.
Member 9538830
3-Sep-14 9:13am
View
Does not work. Reports an error. The example is from a book.
Member 9538830
26-Jul-14 9:44am
View
I saw that something was wrong with the code...
Member 9538830
25-Jul-14 9:54am
View
Hi Johannes,
Thank you very much for your very professional reply.
I tested code that you send me and it works, although it is not meaning of my homework.
I should solve a many complex task. Could you see it and tell me how would I solve it?
Learning of the basics is particular and parallel process independent of this my task.
Sincerely Yours,
Zeljko Vujovic
Member 9538830
24-Jul-14 7:11am
View
And, here it is the content of the file named "tekstualni fajl.txt":
27
349
1583
-2431
90712
-78534
Member 9538830
24-Jul-14 7:07am
View
This is the Source Code:
using System;
using System.Windows.Forms;
using System.IO;
namespace Rad_sa_tekstualnim_fajlom_1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void cbIzborFile_SelectedIndexChanged(object sender, EventArgs e)
{
if(cbIzborFile.Text!="Izaberi fajl")
StreamReader f=new StreamReader("C:\\Users\\user\\Documents\\Visual Studio 2010\\Projects\\Rad sa tekstualnim fajlom 1\\Rad sa tekstualnim fajlom 1\\bin\\Debug\\tekstualni fajl.txt");
String s;
lbBrojevi.Items.Clear();
s=f.ReadLine();
while(s!=null)
{
lbBrojevi.Items.Add(s);
s=f.ReadLine();
}
f.Close();
gbIzbor.Enabled=true;
lRezultat.Text="";
rbMax.Checked=rbMaxBrojPojavljivanja.Checked=
rbMaxRazlikaUzastopnih.Checked=rbProsjek.Checked=false;
}
private void Form1_Load(object sender, EventArgs e)
{
}
}
private void rbMax_CheckedChanged(object sender, EventArgs e)
{
if(rbMax.Checked)
{ StreamReader f=new StreamReader("C:\\Users\\user\\Documents\\Visual Studio 2010\\Projects\\Rad sa tekstualnim fajlom 1\\Rad sa tekstualnim fajlom 1\\bin\\Debug\\tekstualni fajl.txt");
String s;
int max,x;
s=f.ReadLine();
max=Convert.ToInt32(s);
s=f.ReadLine();
while(s!=null)
{
x=Convert.ToInt32(s);
if(x>max) max=x;
s=f.ReadLine();
}
f.Close();
lbRezultat.Text="Max broj je "+max;
}
private void rbMaxBrojPojavljivanja_CheckedChanged(object sender, EventArgs e)
{
StreamReader f = new StreamReader("C:\\Users\\user\\Documents\\Visual Studio 2010\\Projects\\Rad sa tekstualnim fajlom 1\\Rad sa tekstualnim fajlom 1\\bin\\Debug\\tekstualni fajl.txt");
String s;
int max, x, bp;
s = f.ReadLine();
max = Convert.ToInt32(s);
bp = 1;
s = f.ReadLine();
while(s!=null)
{
x=Convert.ToInt32(s);
if(x==max)
bp++;
else if(x>max)
{
max=x;
bp=1;
}
s=f.ReadLine();
}
f.Close();
lbRezultat.Text="Maksimalni broj je "+max+" pojavljuje se "+bp+" puta";
}
}
Member 9538830
24-Jul-14 7:06am
View
Here it is the task that I should to solve:
TASK:
Create application which shows content of a chose file in an object of the class ListBox and than application determines:
- maximal number,
- maximal number and number of its appearings,
- average value of numbers,
- maximal value of two seceded numbers.
Choice of the file name realize using object of the class ComoBox.
Supposition is that files have one number in each line.
TUTORIAL:
Set up next object on the form:
- object of the class ComoBox,
- object of the class ListBox,
- object of the class GroupBox,
(Set up four objects of the class RadioButto into
this class for execution of the tasks of application.)
- object of the class Label,
(for showing required results)
EXPLANATION:
Source code with mentioned errors is an attempt for solving the task.
Member 9538830
23-Jul-14 10:57am
View
Thank you. I am translating a book.
Your solution is correct. Yes, I used Google translate.
Could you help me to solve next errors, also, please?
Error 1 Embedded statement cannot be a declaration or labeled statement
Error 2 Use of unassigned local variable 'f'
Error 3 Expected class, delegate, enum, interface, or struct
Error 4 Use of unassigned local variable 'f'
Error 5 Type or namespace definition, or end-of-file expected
Member 9538830
21-Jul-14 16:31pm
View
Thank you. The problem was solved with correct writing word "Enable"
Member 9538830
21-Jul-14 16:25pm
View
That is right! Problem was solved.
Member 9538830
21-Jul-14 15:26pm
View
Thank you Wes.
Member 9538830
4-Feb-14 6:48am
View
Have you ever written any neural network application? If you have, which one would you single out and why?
Member 9538830
4-Feb-14 6:34am
View
You are still far from the solution, although your comments could be named as a wise, principally.
Member 9538830
4-Feb-14 6:27am
View
Could you be more precise, please?
Member 9538830
24-Jan-14 21:41pm
View
This issue belongs to programming neural networks, multilayer perceptron, for example.
Member 9538830
24-Jan-14 21:27pm
View
Why? Why you are skeptical about it?
Member 9538830
24-Jan-14 20:48pm
View
Have you seen improvement that I posted below the first question of this discussion?
Could you tell me anything regarding that my new task?
Member 9538830
24-Jan-14 16:51pm
View
Regarding previous question,
I should to solve next task:
4. Implementation
4.1. User requirements
(You need a modul for your foreign language learning system. Therefore the images will not be general, but frontally oriented face in front of the web camera – this can be used to simplify the face detection phase).
4.2. Chosen algorithm
(State of the art method, or hybrid of different state of the art methods, or your original method or hybrid of existing and your method)
4.3. Chosen technologies
4.4. User interface (as a part of the foreign language learning system)
How could I do that?
Member 9538830
24-Jan-14 16:46pm
View
Why do you think that this is a waste of time?
Member 9538830
24-Jan-14 15:31pm
View
Deleted
I am interesting in FACIAL EXPRESSION RECOGNITION also, with the same goals as mentioned above.
Member 9538830
13-Nov-12 11:03am
View
Where could be the best place for disscussion my questions?
Member 9538830
13-Nov-12 11:02am
View
OK. Am I right?
Member 9538830
13-Nov-12 10:44am
View
Hello Nelek! Hello Sergey!
Thank you very much for your reply.
I apply kindly Sergey Alexandrovich take part in this discussion, my serious question as well as serious research and developmental problem.
My question and my interest is not FACE RECOGNITION, but, FACIAL EXPRESSION RECOGNITION, with ended goal to recognize emotion expressed by observed facial expression.
I am in the field of Human-Computer Interaction: Emotional Interface, subfield Automatic analysis of facial expressions.
I would like to extract several characteristic points from the arbitrary static image of the face. Those characteristic points would be inputs of one still existing algorithm recognizing emotion.
Am I clear? Do you understand my question and my intentions?
I am looking forward for reply both of you.
Sincerely.
Member 9538830
13-Nov-12 10:40am
View
Deleted
Hello Nelek!
Thank you very much for your reply.
I apply kindly Sergey Alexandrovich take part in this discussion, my serious question as well as serious research and developmental problem.
My question and my interest is not FACE RECOGNITION, but, FACIAL EXPRESSION RECOGNITION, with ended goal to recognize emotion expressed by observed facial expression.
I am in the field of Human-Computer Interaction: Emotional Interface, subfield Automatic analysis of facial expressions.
I would like to extract several characteristic points from the arbitrary static image of the face. Those characteristic points would be inputs of one still existing algorithm recognizing emotion.
Am I clear? Do you understand my question and my intentions?
I am looking forward for reply both of you.
Sincerely.
Show More