- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
3 Posted Topics
Re: hw can in find and delete a line in c++ please give a sample | |
Re: Dim dr As SqlDataReader Dim qu As New SqlCommand("select uname from users where code ='" + TextBox1.Text.Trim() + "'", con) dr = qu.ExecuteReader() Dim sus As Boolean = (dr.Read() AndAlso dr.GetString(0) = TextBox2.Text.Trim()) If Not sus Then Label4.Text = "No Account" con.Close() Else Label4.Text = "You are the one" con.Close() … | |
//person class class Person { //private: public: char name[30]; char type[20]; char date[10]; char id[10]; Person(char pname[],char ptype[],char pdate[],char pid[]); void addPerson(); void personDelete(); char personFind(char pid[]); }; //this function find with id and return the name of the person char Person::personFind(char pid[]) { fstream readFile; readFile.open("employee.txt",ios::in); if(readFile.fail()) { cout<<"Cannot … |
The End.