15,892,746 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 Python 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 lida zar (Top 98 by date)
lida zar
5-Jan-13 14:10pm
View
yes the result its that
Enter the set of start variables ab
Enter number of productions 3
and after it anything i type given error...
lida zar
7-Dec-12 14:12pm
View
and how keu up event work then?
lida zar
7-Dec-12 13:57pm
View
thanks and how use key up event?
lida zar
2-Dec-12 14:59pm
View
ok
lida zar
2-Dec-12 6:47am
View
my IQ is working now :)) thanks ..
lida zar
2-Dec-12 3:23am
View
cmd information to an outpu.in file
lida zar
2-Dec-12 3:08am
View
not help me friend ... other solutions ... i did something and now i wanna save it to a .in file ?
lida zar
2-Dec-12 2:40am
View
ok thanks anyways ... i surrender!
lida zar
2-Dec-12 2:08am
View
thanx friend i got my reply but after complete my program i ask my problem ... many thanks for ur kindness :)
lida zar
2-Dec-12 1:52am
View
i did ... but he again and again discuss with me about own myself ... when i tried very much on google and etc ... how can i solve it lonely ... and also sergey make me upset ... instead of help me to solve my problem ... only review my questions and my knowledge ... yes my knowledge isn't good like him or other one which manage here ... im only a simple student and trying to stand on my own ... then i really don't know why he do joking with me ( a girl) ?
lida zar
2-Dec-12 1:37am
View
thanks anyways , but its not spam ... i'm only a student and i 'm learning from here everything ... so why u wanna ged rid of me by ur messages ... u thought only advanced program should share here ... its not square :(
lida zar
2-Dec-12 1:29am
View
thanx very much
lida zar
2-Dec-12 1:22am
View
Deleted
plz stop posting ur DIATRIBE advice on my questions ... keep them for urself ..
lida zar
2-Dec-12 1:21am
View
u behave with a student very bad ... u r so bad-tempered Mr. Sergey ... to be a good software developer u first need to correct ur behavior ...
lida zar
2-Dec-12 1:18am
View
i mean that in a line of reading file if there was '*' character i wanna convert it to ' . ' and if there was ' . ' i wanna convert it to ' * ' ... thanks.
lida zar
1-Dec-12 14:04pm
View
ok thanks for ur advice ... now i need to know how to read a line from .in file ...? and me trying for this website ... i don't know it can help me or not
http://www.cs.utah.edu/~germain/PPS/Topics/C_Language/file_IO.html
lida zar
1-Dec-12 13:23pm
View
how to program this then ?
lida zar
1-Dec-12 13:12pm
View
please someone help me to write this program :(
lida zar
1-Dec-12 13:04pm
View
thanks but its about only named pipe... first i need to create a process ... right? how its possible?
lida zar
28-Nov-12 16:30pm
View
then its 100% fake ... i really was in shocked ... as it was my first time to recieve this type of email ... i hanged for many hours ... 25000000 $ ... how it can be possible ... so much foolish i am ... its really fake 100% ... thanks for ur helping friends :)
lida zar
28-Nov-12 16:25pm
View
its fake dear joshrducan2012 ... right ? please tell me frankly here?
lida zar
28-Nov-12 16:24pm
View
how can i know them when i don't know them ? i think its a fake ... na?
lida zar
28-Nov-12 16:19pm
View
sergey u are so proud to ur knowledge ... and y u make me joke always ... ?
lida zar
28-Nov-12 16:19pm
View
dear joshrduncan2012 , many thanks ... its from " no-reply@yelp.com " ... its from a where which name is yerp in Fransisco ... if u need more information i can forward this email privately to ur email ... wait for ur reply .. thanks
lida zar
28-Nov-12 16:09pm
View
what u can see ?
lida zar
28-Nov-12 15:16pm
View
then its really fake? i wanna delete my yahoo id ? i do it or not wait for any contact from them?
lida zar
28-Nov-12 15:13pm
View
not kidding yaar ... i am right..how it can be fake?
lida zar
28-Nov-12 12:26pm
View
got it now .... thanks anyways from anyone which helped me to understand ref .
lida zar
28-Nov-12 7:16am
View
how can i ask from yahoo ... if u know please forward me ?
many thanks
lida zar
28-Nov-12 6:53am
View
at yahoo noone dont know how to delete this ... here there are many professional persons which have deep understanding of IT ... so maybe a kind person may do me this favor and i'll be thankful him/her and pray for him/her forever for what great helping she/he did for me kindly ... i'm sure good persons are still in the earth :)
lida zar
28-Nov-12 5:39am
View
thanks anyways...
lida zar
28-Nov-12 4:55am
View
so much angry u seem always with me ... im only a student ... y u think i should know everything ...
lida zar
28-Nov-12 1:16am
View
according my main question the answer is :
X=7 , y = 7 , z= 14 as i think x and y is same anyways ... so dear habeshaman x never can't be 14? what's ur idea friends? am i right or not?
lida zar
27-Nov-12 15:56pm
View
how much this loop swing ? in data structure we studied for example
for(int i=0 ; i<10 ; i++)
for (int j=0 ; j<10 ; j++)
so it calculate like 10 * 10 = 100 so 100 times it swing ... now how much it swing ?
lida zar
27-Nov-12 14:13pm
View
yeah bkoz of return x
lida zar
27-Nov-12 14:03pm
View
z=14
x=7
y=7 its right?
lida zar
27-Nov-12 14:01pm
View
the last answer about x,y,z is ?
lida zar
27-Nov-12 13:48pm
View
thanks very much HabeshaMan :)
lida zar
27-Nov-12 13:42pm
View
yes you are right ?? but order is also important ...
look is it true ?
x = 1 + 4 + 2 > x = 7
y = 7 + 4 + 3 > y = 14
what about z > z =y ?? i don't know its right way im going or not please help me dear richard??
lida zar
27-Nov-12 13:39pm
View
is it true richard ?
x = 1 + 4 + 2 > x=7
y = 7 + 4 + 3 > y = 14
what about z = y ??
help me plz dear richard ?? i really need it very much
lida zar
27-Nov-12 13:37pm
View
is it true richard??
x = 1 +4 + 2 > x=7
y = 7+4+3 > y=14
and how get z ... z= y??? z will be 14 or 7 ?
please help me dear richard to solve it ..plz??
lida zar
27-Nov-12 13:24pm
View
couldn't understand :(
lida zar
27-Nov-12 13:20pm
View
the point is in cal method or ref?
lida zar
27-Nov-12 13:18pm
View
y u discuss friend with me ... look how i did
1) x = 2 + 1 + 2 > x=5
2) y = 2 + 1 + 3 > y =6
3)z=y > z=6
i don't understand it ... if u can help me otherwise not need to discuss about my information ... offffo
lida zar
27-Nov-12 13:11pm
View
isn't any body here to explain me how it solve?? :(
lida zar
27-Nov-12 13:07pm
View
i did but i don't know how computer Convert x to 7 , y to 7 and z to 14 ? i need its step otherwise i know whats its output ... i need its analysis ...
lida zar
27-Nov-12 13:04pm
View
the teacher put this answers as:
A) 5, 6 , 4
B) 7, 7 , 14
C) 14 , 14 , 7
D) 7 , 7 , 7
it needs to know what's the value of x , y , z in output?
please please help me ... tomorrow i have again C# exam ... thanks
lida zar
27-Nov-12 13:00pm
View
i don't get to 7 , 7 , 14 ? ref doesn't work ok in my answers ... please help me to solve it?
lida zar
27-Nov-12 12:58pm
View
it was my exam question ... i couldn't solve it ... now i need to know how it solves? thanks
lida zar
9-Sep-12 10:15am
View
thanx
lida zar
9-Sep-12 10:02am
View
how to solve this ???
lida zar
21-Jul-12 15:05pm
View
oh how ???
lida zar
20-Jul-12 15:08pm
View
thanx ... but i mentioned that i need an free ebook for download not purchase any book ...
lida zar
15-Jul-12 16:04pm
View
now i get to this page by click on PHP 5.2 ....where should i click now to run its setup then???
lida zar
15-Jul-12 15:42pm
View
which one i should install on my laptop?????
Windows Installer (PHP 5.1.0 and earlier)
Windows Installer (PHP 5.2 and later)
Manual Installation Steps
Microsoft IIS
Microsoft IIS 5.1 and IIS 6.0
Microsoft IIS 7.0 and later
Apache 1.3.x on Microsoft Windows
Apache 2.x on Microsoft Windows
Sun, iPlanet and Netscape servers on Microsoft Windows
Sambar Server on Microsoft Windows
Xitami on Microsoft Windows
Building from source
Installation of extensions on Windows
Command Line PHP on Microsoft Windows
lida zar
6-Jul-12 4:34am
View
thanks for your kind comment ....
lida zar
5-Jul-12 10:10am
View
i got the same ..... thanks ... what about all files which its third is N ... i have to write this formula like ??N* means only its file name or by file name and file type like ??N*.* which is true if question mention "a ll files " not files ?
lida zar
5-Jul-12 10:05am
View
its not language yaar .. it's problem in finding this question about search subject on Windows XP ?
lida zar
29-Jun-12 8:05am
View
ok thanx
lida zar
29-Jun-12 6:57am
View
.it's a program in c++ which want to get 5 name,family,id,grade and save in an array and then calculate maximum and minimum and then sort min , max and average.... and if the grade was less than 10 print "fail" and more than 10 print "accept" and between 15 and 17 print "good" and between 17 and 20 print "very good".
its most problem which take only a name and family and don't show which part is about grade between 15,17 and 17,20..... please help me to make it working right.....plzzzzzz?
lida zar
29-Jun-12 6:44am
View
here .... in the code project i seen only a person helped me once and others take everything joking....
lida zar
29-Jun-12 6:33am
View
who can run this program for me and send into my email please?
lida zar
29-Jun-12 6:28am
View
i removed ... but it get only a name not 5 ...where is the problem?
lida zar
29-Jun-12 3:38am
View
this part yaar
void swapname( char nam1[] , char nam2[])
{
char tempname[50]
strcpy (tempname , nam1);
strcpy (nam1 , nam2);
strcpy (nam2 , tempname);
}
and its error: :
1>.\stud.cpp(7) : fatal error C1083: Cannot open include file: 'cstring.h': No such file or directory
lida zar
29-Jun-12 3:25am
View
the error is for swapnam
lida zar
27-Jun-12 15:49pm
View
yes i know ..... better means to a greater degree and which is good to learn ?
lida zar
27-Jun-12 15:40pm
View
i m not a professional person like u MR sandeep but i teach ICDL like windows ,Internet ,ACCESS, WORD , EXCEL ,POWERPOINT? why do u make me joking always ????
lida zar
27-Jun-12 15:40pm
View
Deleted
i m not a professional person like MR but i teach ICDL like windows ,Internet ,ACCESS, WORD , EXCEL ,POWERPOINT? why do u make me joking always ????
lida zar
27-Jun-12 14:51pm
View
thanks very much ..... i have two wish in my life ... expert in web developer and and accept in Master 's exam to can teach in the university ..... at the moment i' m working hard as a simple teacher ... and my time is full except 1 o r 2 days is free .... i don't know which way is true to select ..... first studying hard to accept in master then start learning php and ,net or noi i have to inverse .... anyways thanks for ur kind explaining :)
lida zar
9-Jun-12 9:29am
View
sorry i didn't get any email from you aziz .... may you forward me ur email again ...... zareian1366@yahoo.com
thanks
lida zar
5-Jun-12 10:44am
View
thanks umer aziz malik ... its my email id .... zareian1366@yahoo.com
lida zar
4-Jun-12 3:32am
View
are you giving me an advice... i didn't understand what do u mean by " conscience, something which should not allow you to give fake education to your students, which unfortunately happens. You should think in terms of interests of your student."
lida zar
4-Jun-12 3:00am
View
i agree with this also ... thanks for your good comments .
lida zar
4-Jun-12 2:54am
View
hi , i work as a teacher into an IT CENTER INSTITUTE (RAYAN MOMTAZ). why do you ask it?
lida zar
3-Jun-12 17:10pm
View
dear u r right but bkoz of my job is teaching into these field to diploma student i have to study some books ... my boss given me a c# class and staring web programming by HTML? and i need more to can write a website ... what software i need to know ..
lida zar
3-Jun-12 16:58pm
View
at the moment i have started by C# ... that's good or not ?
lida zar
3-Jun-12 16:52pm
View
thanks ....
lida zar
3-Jun-12 16:40pm
View
means ..... here no one cant reply to me how should i start learning this programing... i got confused only ..... how should i start ....u also went this way to convert now as an expert person yaar ... then why not do me a favour to help me ...
lida zar
28-May-12 5:22am
View
what's your reply dear friend?
lida zar
28-May-12 5:05am
View
can u solve them for me please ?
lida zar
28-May-12 5:04am
View
Error 1 Using the generic type 'System.Collections.Generic.IComparer<t>' requires '1' type arguments
Error 2 Type 'proje.Node' already defines a member called 'Node' with the same parameter types
Error 3 Using the generic type 'System.Collections.Generic.Queue<t>' requires '1' type arguments
Error 4 The type or namespace name 'ArrayList' could not be found (are you missing a using directive or an assembly reference?) in many lines its error ,,,
lida zar
28-May-12 4:31am
View
yes its into same name space
lida zar
28-May-12 4:27am
View
no i don't know how should i check this
lida zar
28-May-12 4:12am
View
hello dear ,, can u help me please ? r u there ?
lida zar
28-May-12 4:09am
View
im sorry if my words isn't formal ,,, english isn't my first language ,,, and i don't know how to request it ,,, my english word circle isn't much ,,, and if u can help me otherwise i find another way to solve this ... GOD is Great .
lida zar
28-May-12 3:47am
View
i didnt mean any wrong with anyone,,,and i just was angry to solve this program ,,, i didnt mention anything wrong ,,,i just told i want to pass which course made me sad since many days ago bkoz of this project ,,,i only want pass this course and i m in need for this code program and im not good in writing its code ,, its difficult for me yaar ,,plzz understand
lida zar
28-May-12 3:39am
View
u don't want help me ,, thats all .... i need BS and IDS program ,,, i used its code website http://www.codeproject.com/Articles/203828/AI-Simple-Implementation-of-Uninformed-Search-Stra but ,,, i only copy its code in diffrente class and now i have encouterd with many errors and i dont know what to do ,,,, if u can help me please otherwise i have to find another way ,,,,
lida zar
28-May-12 3:31am
View
JimJos r u there ? have u implemment this ? plz reply me ? :(
lida zar
28-May-12 3:25am
View
have u did this kindness for me ? are you there ? please reply ?
lida zar
28-May-12 3:16am
View
when u back ,,, dear i need this program tomorrow morning ,,, its my final exam ,,, im here waiting ,,, will u send its program into my email JimJos please ... zareian1366@yahoo.com
lida zar
28-May-12 3:14am
View
i used this link website for using its code http://www.codeproject.com/Articles/203828/AI-Simple-Implementation-of-Uninformed-Search-Stra and now i put node.cs at a seprate class and (IDS and BS ) into a searchalgorithm.cs ,,, but its still showing error ,,, may u do this for me and send into my email or i send u what i did to send u its program by email till now? what should i do now friend?
lida zar
28-May-12 3:04am
View
i did this friend JimJos ,,, in compile window this error is showing
Error 1 'Node': member names cannot be the same as their enclosing type ,,, what should i do now ?
lida zar
28-May-12 3:01am
View
i do it in console application > a class
lida zar
28-May-12 2:59am
View
yes wait plz to do it ,,,thanks
lida zar
28-May-12 2:59am
View
yes wait plz thanks
lida zar
28-May-12 2:54am
View
i only want to pass this damn course not important im good in this or not ,,, i have tired to know its meaning and i got good but im weak to write its program ...... i have found a program by google that i dont know how to write this and i copy this into different class that all is full of error. // class Node.cs class Node { public int depth; public int State; public int Cost; public Node Parent; // Parent Node which has depth =0 and parent = null; public Node (int State) { this.State = State; this.Parent = null; this.depth = 0; } // another form of Node Constructor which accepts only the State; public Node(int State) { this.State = State; } // this form of Generalization of Node Constructor which accepts // any node root or ordinary node; public Node(int State,Node Parent) { this.State = State; this.Parent = Parent; if (Parent == null) this.depth = 0; else this.depth = Parent.depth + 1; } // this form of Generalization of Node Constructor which accept // any node root or ordinary node and accept the cost of each node; public Node(int State, Node Parent, int Cost) { this.State = State; this.Parent = Parent; this.Cost = Cost; if (Parent == null) this.depth = 0; else this.depth = Parent.depth + 1; } } here error all by Node class GetSucc { //if search go forward from 0 to number n public ArrayList GetSussessor(int State) { ArrayList Result = new ArrayList(); Result.Add(2 * State + 1); Result.Add(2 * State + 2); return Result; } //if search go backward from n to number 0 public ArrayList GetSussessor_Reverse(int State) { ArrayList Result = new ArrayList(); if (State % 2 == 0) { int P = State / 2 - 1; Result.Add(P); } else { int Sib = State + 1; Result.Add(Sib / 2 - 1); } return Result; } //if the cost of each node must be determined public ArrayList GetSussessor(int State,Node Parent) { ArrayList Result = new ArrayList(); Random n = new Random(); Test s = new Test(); Result.Add(new Node(2* State + 1,Parent,n.Next(1,100)+Parent.Cost)); Result.Add(new Node(2* State + 2, Parent,n.Next(1,100) + Parent.Cost)); Result.Sort(s); return Result; } }//end class //implement the interface IComparer to compare objects in ArrayList public class Test : IComparer { public int Compare(object x, object y) { int val1 = ((Node)x).Cost; int val2 = ((Node)y).Cost; if (val1 <= val2) return 1; else return 0; } }//end class Test here error all by array list and comparer and else code is full of errors that i dont know to solve them...... Breadth First Search Collapse | Copy Code public static void Breadth_First_Search(Node Start, Node Goal) { GetSucc x = new GetSucc(); ArrayList children = new ArrayList(); Queue Fringe = new Queue(); Fringe.Enqueue(Start); while (Fringe.Count != 0) { Node Parent = (Node)Fringe.Dequeue(); Console.WriteLine("Node {0} Visited ", Parent.State); //Console.ReadKey(); if (Parent.State == Goal.State) { Console.WriteLine(); Console.WriteLine("Find Goal " + Parent.State); break; }//end if children = x.GetSussessor(Parent.State); for (int i = 0; i < children.Count; i++) { int State = (int)children[i]; Node Tem = new Node(State, Parent); Fringe.Enqueue(Tem); }//end for }//end while }//end method
lida zar
28-May-12 2:51am
View
i have tired to know its meaning and i got good but im weak to write its program ...... i have found a program by google that i dont know how to write this and i copy this into different class that all is full of error.
// class Node.cs
class Node
{
public int depth;
public int State;
public int Cost;
public Node Parent;
// Parent Node which has depth =0 and parent = null;
public Node (int State)
{
this.State = State;
this.Parent = null;
this.depth = 0;
}
// another form of Node Constructor which accepts only the State;
public Node(int State)
{
this.State = State;
}
// this form of Generalization of Node Constructor which accepts
// any node root or ordinary node;
public Node(int State,Node Parent)
{
this.State = State;
this.Parent = Parent;
if (Parent == null)
this.depth = 0;
else
this.depth = Parent.depth + 1;
}
// this form of Generalization of Node Constructor which accept
// any node root or ordinary node and accept the cost of each node;
public Node(int State, Node Parent, int Cost)
{
this.State = State;
this.Parent = Parent;
this.Cost = Cost;
if (Parent == null)
this.depth = 0;
else
this.depth = Parent.depth + 1;
}
}
here error all by Node
class GetSucc
{
//if search go forward from 0 to number n
public ArrayList GetSussessor(int State)
{
ArrayList Result = new ArrayList();
Result.Add(2 * State + 1);
Result.Add(2 * State + 2);
return Result;
}
//if search go backward from n to number 0
public ArrayList GetSussessor_Reverse(int State)
{
ArrayList Result = new ArrayList();
if (State % 2 == 0)
{
int P = State / 2 - 1;
Result.Add(P);
}
else
{
int Sib = State + 1;
Result.Add(Sib / 2 - 1);
}
return Result;
}
//if the cost of each node must be determined
public ArrayList GetSussessor(int State,Node Parent)
{
ArrayList Result = new ArrayList();
Random n = new Random();
Test s = new Test();
Result.Add(new Node(2* State + 1,Parent,n.Next(1,100)+Parent.Cost));
Result.Add(new Node(2* State + 2, Parent,n.Next(1,100) + Parent.Cost));
Result.Sort(s);
return Result;
}
}//end class
//implement the interface IComparer to compare objects in ArrayList
public class Test : IComparer
{
public int Compare(object x, object y)
{
int val1 = ((Node)x).Cost;
int val2 = ((Node)y).Cost;
if (val1 <= val2)
return 1;
else
return 0;
}
}//end class Test
here error all by array list and comparer
and else code is full of errors that i dont know to solve them......
Breadth First Search
Collapse | Copy Code
public static void Breadth_First_Search(Node Start, Node Goal)
{
GetSucc x = new GetSucc();
ArrayList children = new ArrayList();
Queue Fringe = new Queue();
Fringe.Enqueue(Start);
while (Fringe.Count != 0)
{
Node Parent = (Node)Fringe.Dequeue();
Console.WriteLine("Node {0} Visited ", Parent.State);
//Console.ReadKey();
if (Parent.State == Goal.State)
{
Console.WriteLine();
Console.WriteLine("Find Goal " + Parent.State);
break;
}//end if
children = x.GetSussessor(Parent.State);
for (int i = 0; i < children.Count; i++)
{
int State = (int)children[i];
Node Tem = new Node(State, Parent);
Fringe.Enqueue(Tem);
}//end for
}//end while
}//end method
Uniform Cost Search
Collapse | Copy Code
public sta
lida zar
27-May-12 5:09am
View
actually it s not for me ,,, its which work my boss wanted me to do ,,, its easy for u to do this kindness for me ,,, then why don't help me ,,, u r professional but im basical na ,, i myself don't know what i want to write ,,
Show More