Mercurial > codedump
view garf.cpp @ 69:63e6bc911606
Use regex instead of weirdness to filter archive.org names
committer: GitHub <noreply@github.com>
author | Paper <37962225+mrpapersonic@users.noreply.github.com> |
---|---|
date | Wed, 18 May 2022 23:24:03 -0400 |
parents | 37f231f85a67 |
children |
line wrap: on
line source
// garf simulator #include <iostream> #include <stdio.h> #include <string.h> int main() { char answer[255]; std::cout << "would you like to monetize 1123.best?: "; fgets(answer, sizeof(answer), stdin); if(answer == "yes") { std::cout << "it's a yes!"; } else { std::cout << "it's a yes!"; } return 0; }