Help concerning a basic simple snake game[quote]1. when the snake eats at least one fruit, the 'y' for replay option doesn't work[/quote] You...
How to find specific value in text file[i]y + "-" + m + "-" + d[/i] should be maybe [i]y + '-' + m + '-' + d[/i] We haven't learned C++ syn...
How to find specific value in text fileSomething like this? [code]string d, m, y; cout << "Enter y m d: "; cin >> y >> m >> d; string searc...
strcmp help[code]#include <iostream> #include <string> using namespace std; struct Person { string name; i...
strcmp helpThat's because you are printing all 10 elements of array but what if user entered data for e. g. 2 p...