Category : loops

I have a script that opens a specified URL in chrome, shows it for 10 seconds before closing Chrome and then waits another 10 seconds before opening the same URL again (some memory training for the persons I want to use it for). Now the problem is that Chrome closes the first time, but then ..

Read more

I’m trying to prompt the user for items and the quantity of those items respectively. But when I run the program, it correctly displays the elements in the first vector, and not the elements in the second vector. #include <iostream> #include <vector> using namespace std; int main(){ // Declaring vectors vector <string> items{}; vector <int> ..

Read more