No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
[CODE]void EmployeeSearch() { vector<string> file; string temp; ifstream infile("GROUP.txt"); while( !infile.eof() ) { getline(infile, temp); file.push_back(temp); } // done reading file infile.close(); string item; cout << "Enter an employee number to delete from the file: "; getline(cin, item); for(int i = 0; i < (int)file.size(); ++i) { if(file[i].substr(0, item.length()) == … |
|
Re:
Hi, I am new at php so please I beg of you to go easy on me., I have looked on the site and read many tutorials but I am trying to understand the following: When I call session_start() at the beginning of a page a file gets saved to … |
|
Hello everyone. I am trying to write a quiz for a site. Questions are in multiple choice, true/false, fill in the blank etc. The example questions i have can be seen below. I'm trying to plan how am I going to code this. I was thinking of having a table … |
|
Hello, I was wondering if anyone could help me. At the moment, I have some quizzes on a site which store the result in to a database. there are 6 quizzes in total and the the fields in the database are. Quizresult1, Quizresult2 Quizresult3 Quizresult4 Quizresult5 ,Quizresult6. What I would … |
|
Hello, I am retrieving code from a database and my resulting array is as below. [CODE]Array ( [0] => Array ( [0] => False [1] => True ) [1] => Array ( [0] => True [1] => False ) [2] => Array ( [0] => False [1] => True ) … |
|
I'm about to start an assignment and am just trying to think of the most logical waysd of doing things at the moment. The assignment involves using mysql and php to create a website for a training company. The part i am having trouble conceptualizing is this: "Tutors are created … |