0

How do i search for a word in an input using functions?

So I have an assignment due in a few days and it encompasses a lot of our lessons in one, and the point is to search for a name from an input file and to label it wether it's a friend's name or not. All I've found is using command getline() do I use that command to get a line of code from input file? I can't use objects and classes, as we haven't covered those yet. And I have to use functions, but every time I try to put those getline words from input file, it says I need a bool value, we haven't covered a lot over bool values. Thanks.

9th Dec 2018, 5:38 PM
alek
alek - avatar
1 Odpowiedź
0
That built correctly, but said memory range was incorrect.
10th Dec 2018, 5:10 PM
alek
alek - avatar